This article ties in with a few other Frontly articles relating to User Management.
We encourage you to carefully consider and review the options in each of these settings before finalizing your set-up.
User Spreadsheet
Custom User Fields
Edit Profile
User Roles within Frontly
In the context of Frontly as a no-code app builder, there are three types of User Roles in the platform you should be aware of.
Owner
Owner roles have no limits. They can access the app editor, make changes, edit/delete pages and even edit or remove users. Other individuals besides the principal account creator can be an Owner as well, but be very careful about who you assign these permissions to.
Admin
Admins are assigned by Owners and have access to all apps by default, or only the specific 'Enabled Apps' for them. They cannot delete apps and do not have the ability to delete or edit Owners.
User
Users are an end-user of a Frontly app who are configured by an Owner or Admin, or have created an account on their own through its login page. These individuals can log in, view content and interact with the app as intended by the app creators.
User Role Breakdown
| User | Admin | Owner |
Has login access to Frontly app editor |
| ✅ | ✅ |
Can customize apps |
| ✅ | ✅ |
Can create apps |
| ✅ (set by Owner) | ✅ |
Can delete apps |
|
| ✅ |
Can create / delete users |
| ✅ | ✅ |
Can edit user fields |
| ✅ | ✅ |
Has login access to Frontly app | ✅ | ✅ | ✅ |
Can view pages | ✅ | ✅ | ✅ |
User Groups For Custom Permissions
Create and manage user groups through the 'User Groups' tab to control access to certain parts of your app. Use user groups to segment your users' access to your app by setting custom page-level, and even block-level permissions.
Setting User Groups With Conditions
User Groups can be manually applied for user through the 'Manage Users' tab, but you can also prescribe them based on the conditions you've created for each user group. User groups will automatically update the user once its individual conditions are met.
The most common condition used in these cases would be to update a user group based on a User Field that has its value updated through an 'Update Active User' action.
Click here to learn more about Frontly's Custom Action system.
Scenario
You want Teachers to access the Attendance page, but you only want your Students to see your Classes page.
To do this, you can set two user groups: Teachers and Students:
Note: You can also determine a User Group's Default Page which automatically sends them to that specific page upon login.
Once you've created User Groups, you can go to a specific user and set their User Group by selecting it from the User Group dropdown:
Then, on a specific Page, in the 'Access' settings of the Page Settings, you can adjust the page permissions by clicking with this option:
In the permissions window, you will see each User Group you created, with a simple on/off switch to determine who has access to this page:
The same settings can also be applied on a Block-level to create a more granular rule set where specific user groups can view only specific Blocks.
Hidden Filters for User Groups
Setting up user groups and display permissions for them can be a straightforward process in regulating what your users can see at the page and block level, but there is another layer deeper you can reach at the data level through the use of hidden filters. Hidden filters do not have to be used exclusively with user groups, but it is one of many dynamic variable options that allow you to control what your users see within a supported block.
Using the same example above, you may be a situation where you have a single Table made up of resources for Students and Teachers. You also want to make sure one group will not have visibility into the other group's resources. By indicating as a field in your spreadsheets which user groups these resources are intended to be seen by, you can then use a hidden filter in combination with the user group dynamic variable, {{user.user_groups}}, to ensure you achieve this outcome.
Click here for more information on Hidden Filters
Click here for more information on Dynamic Variables
Setting The Default User Group For New Signups
Do you need new users to be automatically added to a specific User Group when they sign up? You can set this with the Default User Group setting: