Users and Roles
Last updated
Last updated
openBuild adds a few fields to the default User data type.
These are:
avatar - by default pre-built pages and elements use this field to display User avatar
firstName - user first name
lastName - user last name
fullName - useful in workflows. Remember to update the field whenever firstName or lastName changes. You can either do this manually or create a database trigger
phone - user phone number
userType - it's a field linked to the User Type option set.
Read about the rules around creating syntax for fields and elements in this section.
User Types are used to create security rules around users accessing data and pages. For example only admin users (i.e. User's with User type of Admin) should have access to the admin page or see certain data.
Remember that if you do not see the data on the page it does not mean it's not accessible to 3rd parties in some other way. Read more about security in this section.
In the framework, you will also find that we use the User type option set in Security Reusable.