Introduction
Roles in Next Plus define user access and permissions across various modules, ensuring that users have the appropriate capabilities based on their responsibilities. This article explains the default roles, how organizations can create custom roles, and how to use Access Control Lists (ACL) for permission management.
Default Roles in Next Plus
Next Plus provides five default roles:
Operator
Viewer
Editor
Admin
Sys Admin
For detailed information about each of these roles, please refer to
Creating Custom Roles
Organizations can create additional roles beyond the default ones to suit their unique needs. The Roles Configuration menu lists existing roles and provides options to create or modify roles.
To create a new role:
Navigate to the Roles Configuration menu.
Click on the "+" button to add a new role (as shown in the screenshots).
Fill in the details, including:
Name of Role: Define a unique name for the role.
URL: Set the homepage for users assigned this role.
Disable Use: Optionally disable the role if needed.
Enhancing or Limiting Permissions: Using ACLs
Each custom role can enhance or limit permissions through Access Control Lists (ACL). When creating or editing a role, you can click on the Add ACL button to customize the permissions (as shown in the second image).
In the Add ACL window:
Model: Select the module you wish to modify permissions for.
Access Type: Define the type of access (e.g., Read, Write, Execute).
Property: Specify the specific property or component within the module.
Permission: Choose the permission level (e.g., Allow, Deny).
Assigning Roles to Users
After creating or modifying a role, you can assign it to individual users or groups of users, ensuring they receive the appropriate access levels defined by the role's ACL settings.
Case Studies
Cannot delete forms
This guide walks you through the process of restricting user roles from deleting forms in the Next Plus application.
1. Introduction
By following the instructions provided, you can set up the necessary permissions and restrictions within the application.
2. Click "Settings"
Navigate to the Settings section.
3. Click "Users"
Access the Users menu.
4. Click "Roles Configuration"
Open the Roles Configuration tab.
5. Click Add
Select the specific option indicated.
6. Click "Name"
Choose the Name field.
7. Fill "Cannot Delete Forms"
Fill in "Cannot Delete Forms"
8. Click "Add ACL"
Select the option to Add ACL.
9. Click "Model" to open drop-down Menu
Select the necessary model from the list.
10. Click "FormData"
Click on FormData.
11. Click "Access type"
12. Click "*"
Select the designated option.
13. Click "Property"
Proceed to click on Property.
14. Click "deleteById"
Select the deleteById option.
15. Click "Permission"
16. Click "DENY"
Select DENY.
17. Click "Add"
Click on Add.
18. Click "Add"
Click on Add again.
This guide detailed the steps to create a user role in Next Plus that cannot delete forms.
Configure a role that enables open Work orders manually
This guide will walk you through configuring a role for an Operator in Nextplus, enabling them to manually open Work orders by setting up the necessary permissions and access rights.
1. Introduction
2. Click Add
Navigate to the specified section.
3. Fill "Create Workorders"
Fill in "Create Workorders"
4. Click "Add ACL"
Initiate the process to add a new ACL.
5. Click on the "Model" drop down list
Select the appropriate model from the list.
6. Click "Workorder"
Access the Workorder section.
7. Click "Access type" and select "*"
Choose the access type "READWRITEEXECUTE".
8. Click "Property" and select "*"
Indicate the property settings.
9. Click "Permission" and select "Allow"
Set the permission to "DENYALLOW".
10. Click "Add"
Add the permission.
11. Click "Add"
Confirm the addition.
This guide covered configuring a role for an Operator in Nextplus to allow manual opening of Work orders through step-by-step instructions on setting permissions and access types.