Kuika's Add User To Role action is used to add a specific user to a role defined in the system. In this way, users' roles can be dynamically managed and groups within the application can be configured. As part of the authorization system, the action helps to indirectly determine users' access to certain content or features. Role-based access permissions are managed by defining them in the Authorization field in the Properties panel.
1. Defining Action in UI Design
Configure Action Parameters
In a training application, the user whose registration has just been completed is given the authority to edit the form by assigning the "Editor" role in the system. This can be done through a button triggered after the user completes the form.
Adding Role Assignment Action After User Registration
Configuring the Add User To Role Action
With this configuration, one click is enough to authorize the user in the system. When the action runs, the user is added to the relevant role and has all permissions and access to that role.
Technical Risks and Controls
Add User To Role action allows you to create role-based access control by assigning users to specific roles in Kuika applications. It offers both a flexible and secure authorization infrastructure with advanced integration support, dynamic parameters and the ability to assign multiple roles.