...
The easiest way to see how the Manage Permission menu works is to download the attached demo app, import, publish and run the app in your Joget platform:
Steps | Screen (Click to view) |
---|
- Manage permission menu basically allows you to configure the userview menu category permissions from the run time screens. In this example (Figure 1), there are four menu categories you can assign the view permission.
- The Configure button (Figure 2)
|
...
- will present you with the following permission options:
- Is Admin
- Is Anonymous
- Bean Shell Script
- Department
- Group
- Logged In User
- Organization
- Is Sub Level Userview
- User
- In Userview Builder, the Manage Permission menu property is shown in Figure 3 (More details are provided below).
- Each menu category permission property (Figure 4) is tagged as "Permission Type = Controlled By Manage Permission Menu" and given a "Permission Key" name. You then map the respective "Permission Key" names into the "Manage Permission > Permissions" grid (Figure 3).
| Image Modified Figure 1 Image Modified Figure 2 Image Modified Figure 3 Image Modified Figure 4 |
Name | Description | Screen (Click to view) |
---|
id |
...
| Menu element unique id. Userview will use this id in the URL for the menu if the Custom ID is empty. | Image Added Figure 5
Image Added Figure 6
Image Added Figure 7 |
Custom ID |
...
| Item link slug. Optional field (Figure 5) Info |
---|
| Value defined here must be unique to the rest of the Userview Menus as the first matching name will be called upon. |
|
Label |
...
| Menu label. Mandatory field. |
Page Title |
...
| Page title on Permission Menu page. You can use HTML tags, for example <b></b> to bold the title. |
Permissions |
...
| Permission Key | Id to match against userview categories (Figure 4). | Permission Label | Permission list name (Figure 3). | Category | Optional Group label. Category to group similar permission labels under. |
|
Enable Refined Controls (Requires Admin User Role)? |
...
| Allows administrators to implement intricate user permission configurations per group. Info |
---|
title | Using LDAP / External Directory Manager? |
---|
| If you are using external directory manager such as the LDAP Directory Manager, you must enable this option to use this Manage Permission menu. |
Warning |
---|
| Once this feature is enabled, only users with administrative access can manage the permission. |
As opposed to Figure 2, when configuring permission, you will be brought to the following screen for finer permission control. |
Image Removed
Image Removed
Figure 5
Image Removed
Figure 6
Image Removed
...
Image Added |
Name | Description |
---|
Custom Header | Custom Header in HTML to show (Figure 6). |
Custom Footer | Custom Footer in HTML to show. |
...