Authorization

Creating Roles for Role-Based Authorization

Roles are needed in the application to manage authorization processes in the applications you develop with Kuika. When you create a new application in Kuika, regardless of whether it is a web or mobile application, role definition is not done by default. You must create a role or roles to provide authorization within the application. In this learning content, we have developed I Have an Idea! We will examine the role creation process for the web application together.

Roles are needed in the application to manage authorization processes in the applications you develop with Kuika. When you create a new application in Kuika, regardless of whether it is a web or mobile application, role definition is not done by default. You must create a role or roles to provide authorization within the application. In this learning content, we have developed I Have an Idea! We will examine the role creation process for the web application together.

In Kuika, the Authorization field in the Properties Panel is used to define a new role or manage existing roles. When you create a new application in Kuika, except for the screens with Sign in, Sign up and similar operations, other screens and/or the screens you have just created come with the All Roles Access authorization option. This indicates that all roles within the application are authorized.

Let's examine the process of creating new roles for the application and authorizing elements or screens according to these roles in I Have an Idea! Web application.

  1. I Have an Idea! Open the User List screen in the web application.
  2. Add a New User button that will allow adding a new personnel to the User List screen and edit the style of the button.
  3. Then open the Properties panel with the button selected.
  4. Turn off the All Roles Access Switch in the Authorization field.
  5. Click the New Role button and add a Manager role as an example.
  6. In the new role addition screen, you can optionally specify the Starting Screen of the users with the role.
  7. After entering the role name, click the Create button and complete the role creation process.
  8. Now define the Personnel role in a similar flow.

In the application development process with Kuika, defining roles for your application is very fast and simple.

Dosyalar

Yardımcı kaynaklar

Sözlük