Introduction

This permission plugin allows users to configure multiple permission plugins to be applied to an element.

Get Started

To see how the Multi Permission plugin actually functions, we should first create a UI. Here are the steps for this process:

Steps to Import this Plugin

1. Go to the website https://github.com/jogetoss/multi-permission


2. Go to the "Initial Release" page.


3. Click on the .jar file to initiate the download (See Figure 1).

Figure 1


4. Go to your Joget Workflow localhost or server and login as admin.


5. In Joget Console navigate to "Admin Bar>Systems Settings>Manage Plugins" and click the "Upload Plugins" button.


6. In "Upload Plugin", select the plugin .jar file you just downloaded, then click "Upload".


7. You should be able to view the newly installed plugin under the Installed Plugins tab.


8. Remember to always uninstall the old plugin before uploading a new version.


The Joget Workflow Knowledge Base has more information on managing and developing plugins.

Steps to Use the Plugin

1. Start the Joget server and open the App Center.

2. Login as admin and click on Design New App or click on existing application (See Figure 2).

Figure 2


3. For new application, fill up the App ID and App Name then proceeds to click on Save button (See Figure 3).

Figure 3


 4. Create New Form, fill up Form ID, Form Name and Table Name then click on Save button (See Figure 4).

Figure 4


5. Fill up the form with a Text Field and configure it then save the form. (See Figure 5)

Figure 5


6. Click the GENERATE APP button and generate a CRUD (See Figure 6).

Figure 6


7. After creating the CRUD, Launch the UI Builder by clicking on the newly created CRUD. (See Figure 7).

Figure 7


8. Navigate to this UI's Permission, then click on the edit icon on the newly created CRUD menu. (See Figure 8)

Figure 8


9. Select the Multi Permission Plugin from the menu. (See Figure 9). 

Figure 9


10. Configure the plugin properties as shown below (See Figure 10).

Figure 10


11. Save the changes and Launch the UI page (See Figure 11).

Figure 11


12. Login as Admin , observe that you can interact with the Test Form Menu. Log out from the admin account and observe that you can still interact with menu. (See Figure 12 & 13)

Figure 12

Figure 13


13. Login as Cat Grant (username: cat, password: password), and notice how the menu is inaccessible to Cat Grant as configured previously (See Figure 13).

Figure 14


Multi Permission Plugin Properties

Configure Multi Permissions

Figure 15


NameDescription
PermissionProvides options of selecting which permission plugins to add to the Multi Permission tool.
Matching Condition
  • ALL - All the permission conditions must be matched.
  • ANY- Any of the permission conditions must be matched.
CommentActs as a comment for permission configuration.
  • No labels