When restricting visibility and access to content across the platform there are a few things to know.
- Access Permissions control what users can see and their abilities on the website.
- User Groups and Folders control what specific Screens and content users on the website and app.
- Formula filters control what the user sees within a specific Screen on the app.
Restricting control and access levels on the Website
Access areas control the website areas/features that the user is permitted to see. You can give users limited access to parts of the secure website. This is done via the Access Permissions section found on the 'edit user' page. Click on Organization & Users from the navigation menu on the left side, then click Users & Groups from the drop down. Hoover over the user you want and click 'edit user". You will then choose the access level and specific areas that the user will be permitted.
- Read Only access allows users the ability to view.
- Read/Write access allows the user to modify content and have access to most functions.
- Administrator access allows users have full control over all aspects of the system. This designation is the only user level that has access to administrative areas of the website menu, such as Organization Setup, Users etc.
Simply unselect the areas you want to keep the user out of, i.e. unselect the App Builder area to remove that option from their navigation menus.
Restricting Access to Screens and Docs
Restrict access by folder
If you want to show different sets of Screens to different users, i.e. allow managers to see additional Screens, you should create Folders and assign the relevant Screens and Docs to them. These Folders should be modelled for the specific role or app user groupings you wish to control. You must ensure the relevant users have been given access to the respective Folders.
You can turn on access restrictions to each individual folder by user group and/or individual user. For more information on how Folders work, refer to the Folders section of this support website.
Managing user groups access
User groups make it easier to manage a large numbers of users. Administrators can create groups to represent the various units/departments in your company account. This approach ensures that you don't have different departments seeing and/or modifying content that belongs to other departments. To create a user group follow these steps.
1.Using the navigation menu click on Organization & Users, and click Users & Groups from the drop down.
2. Locate the 'Group' section in the top right and click +New.
3. Assign users to the relevant groups.
4. Assign these groups to specific folders via the Folder Settings popup. This is accessible via the 'cog' icon found next to the folder name in Screens, Docs and Data Sources listing pages.
Restricting screen access/visibility on the app
When using folders your users will only see what you grant them access to. Another option is to create your own custom app start screen. You can do this by using the 'Start Screen' option. Using the navigation menu click on Apps, then select App Set Up from the drop down.
If you create a custom Icon Board screen you can apply visibility formula to dynamically show/hide the respective icons of that Screen.
Filter data rows prior to being sent to the app
If you need to show restricted data rows seen by the user based on complex organization rules consider the following options:
Run a hosted GET web service
You can host rows of the Data Source on your own server and use our Hosted GET connector option on the Data Source in question. This means that your Hosted GET web service will have the ability to apply user-specific filtering on the data when the app requests the rows. Hosted GET gives you maximum flexibility to apply whatever organization rules you need. It requires software development skills to create the web service. For more information, take a look at our Hosted GET documentation available on this support website.
Use our sync product
This refers to our 'integration in a box' stand alone product, which you install locally on your server. Sync automatically creates a database and auto-populates it with Form entry data as needed. This product also automatically exposes Hosted GET services based on database tables that you nominate. It means you can enjoy the benefits of Hosted GET without needing a programmer. You simply install and configure Sync to handle the integration for you. Contact our support team for more information and a free trial of Sync.
Dynamically filter data rows on the app
Another way to control the visibility of data and Screens is by using our powerful formula engine functionality. This is available where-ever you see the 'hammer' icon in Screen designers. You can leverage our formula functionality to filter and show/hide items in the following ways:
Apply 'in-screen' filtering- Depending on the Screen in question, you can also apply app-side dynamic filters to Data Source rows by using our formula engine. For example, on a Form screen, you can specify a filter formula on Choices and Data Source type fields. Similarly, filters can be specified as parameters when opening Listing and Mapping screen types.
Leveraging User Metadata- User Metadata is a set of key values that you can define for each user. Using the navigation menu click on Organization & Users, and click User & Groups from the drop down. You can setup user-specific data as needed, and then refer to these in a filtering formula via the USERMETA() formula function. For example, you can add the employee's group/role code as metadata, and then filter rows where the role/group column equals the user's metadata value.
Apply cross-screen context with global values- Global values are device specific values that you can assign through a Form Screen, using the 'Bind to Global Value' property available on most field types. This allows you to set a value, accessing it by a key name of your choosing. You can also refer to global values in any filter formula via the GLOBALVAL() function. Global Values are a great way to have users set a 'context' for their app session, with that context selection then being available to any Screen's formula areas.
Consider this example:
- Have the user select their current job/project context (which is bound to a Global Value) via a simple Form.
The Form should be configured to NOT upload on completion, thus saving many meaningless Form entry submissions. You can configure this 'no upload' behaviour via the 'Do Not Upload Data' option found on the Settings page of every Form Screen.
- Design other app screens to apply filtering and visibility formula by referring to the saved user context via the GLOBALVAL() function. This way the context the user chooses will 'follow' them through the other app screens they see and use.