system.kanoa.security.updateRoleFunctions
Description
Inserts or deletes a role function link based on the provided information.Syntax
updateRoleFunctions(roleFunctionInfo, userId)- roleFunctionInfo (Dictionary) - Information about the role function link, including roleId, functionId, and enabled.
- userId (Integer) - User ID.
None.
Code Example
# Example Usage:
system.kanoa.security.updateRoleFunctions({'roleId': 1, 'functionId': 7, 'enabled': True}, 123)