13197 - Add support for restricting dashboard
As an administrator, you have full access to the primary form browsing / building interface. Authenticated users also will have access to this interface for forms they are secured to, which in some cases may not be desired.
Dashboard Access (allowNonAdminDashboard)
The web client supports a configuration flag named allowNonAdminDashboard that controls whether authenticated non-admin users can access the dashboard (home state). var allowNonAdminDashboard = true;
Dashboard access is allowed when either of the following is true:
allowNonAdminDashboardistrueThe current user is an administrator
When access is denied:
The dashboard content is hidden
An Unauthorized warning panel is shown
A danger alert is added with the message:
You are not authorized to view the requested resource.
Recommended Values
true(default): Any authenticated user can open the dashboard.false: Only administrators can access the dashboard.
Use false when your deployment should prevent standard users from browsing dashboard resources and forms.