1. Authorization on Elements

In the Kuika platform, users can be associated with specific roles to limit their access to screens and elements.

1.1. Role Creation

  1. Log in to the Kuika platform and select your project from the Apps screen.
  2. In the UI Design module, add and select an element from the Elements panel.
  3. In the Authorization field in the Properties panel, disable the All Roles Access Switch option.
  4. Click the +NEW ROLE button under the Roles heading.
  1. Enter the role name and save it by clicking the CREATE button.
  2. The roles you created are stored in the KRole table in the Datasources module.
  3. You can write SQL queries over the KUserRole table to find out which role the users are in.

1.2. Element Authorization by Roles

  • To make an element viewable only by a specific role, add that role in the Authorization field.
  • If you want the element to be viewable only, disable the Hide Switch property.

1.3. Start Screen Assignment by Roles

  • To set the start screen depending on the user's role, select the role in the Select Box.
  • Complete the setting by clicking the CREATE button.
  • If all roles need to view the same elements, activate the All Roles Access Switch option.
  • You can use the Anonymous Access Switch option to provide access without requiring login.