Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
The Manage Permission Page Component allows you to configure category permissions for user-defined groups at run-time.
This feature eliminates the need for app designers to go into the UI builder to manually set the permission for every menu category.
Figure 1: Configure Manage Permission
Label | Menu label. Mandatory field. | ||||||
Menu ID | Item link slug. Optional field Unique field Value defined here must be unique to the rest of the UI Menus as the first matching name will be called upon. | ||||||
Page Title | Page title on Permission Menu page. You can use HTML tags, for example <b></b> to bold the title. | ||||||
Permissions |
| ||||||
Enable Refined Controls (Requires Admin User Role)? | Allows administrators to implement intricate user permission configurations per group. Using LDAP / External Directory Manager? If you are using an external directory manager such as the LDAP Directory Manager, you must enable this option to use this Manage Permission menu. Important Note 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. |
Figure 2: Advanced Settings
Name | Description |
---|---|
Custom Header | Custom Header in HTML to show. |
Custom Footer | Custom Footer in HTML to show. |
Figure 3: Performance & Offline Settings
Name | Description |
---|---|
Scope | Caching options are :
|
Duration (s) | Duration in seconds to cache content defaults to 20 seconds if applicable. |
Read more at Performance Improvement with UI Caching.
Note: PWA Offline support is dependent on the theme used.
Name | Description |
---|---|
Enable cache for offline support | Check this to enable caching for offline support, usually set for use on mobile browsers. |
Read Progressive Web Application (PWA) for more information.
This is a new feature in Joget DX 8.
Figure 4: AJAX & Events - Event Listening
Name | Description |
---|---|
Component Object | The object that will be listening for an event. This field will dynamically show selectable options depending on the page components used. e.g: if there is a page component called manage meeting in the page, it will automatically show up in this field's select box. |
Event Name | Custom Event Name. |
Matched Action | Action to be listened for.
|
Add row | Adds another row for another event |
Figure 5: AJAX & Events - Event Triggering
Name | Description |
---|---|
Event Name | Custom Event Name |
Trigger Method | The method used to trigger an event.
|
Parameter Name | Custom Parameter Name. |
Operator | Logical Operator to be used in evaluating "Parameter" against "Value"
|
Value | The value that the Parameter will be compared to. |
When Not Match Trigger Event Name | Event Name when/if the logical operation is not satisfied. |
Add row | Add another row for another event. |
How to use this permission plugin in a UI category
In the UI category that you wish to manage its permission via this plugin, edit the category's permission. After setting up the Permission Menu, remember to configure all the respective UI categories. Note that, multiple categories can use the same permission key. Setting up as such will grant multiple categories to a permission group.