Most systems worth developing provide users with system access with the notions of user credentials, accounts, roles, privileges and other user info. Chakra7 offers this functionality out of the box.
Navigate to the “User Sessions” tab in Chakra7 Studio and check the box to enable user sessions:
This will automatically create two special Object types: SystemUser and SystemPassword:
The system’s designer can add or remove fields as necessary for SystemUser except for “login” which is the username by which the user will access the system. A common field is Role or Privileges which we recommend defining as Global Values. For example:
In web development, sessions are values that are stored on the server for each unique visitor (technically, for every unique browser). It is therefore often convenient to store commonly referenced user properties as a session instead of resorting to a database query. The User Sessions Chakra7 feature allows you to easily select which SystemUser properties are stored as sessions.
Once user sessions are enabled, access to the system will require a username and password. The root user’s credentials by default are: