Role-Based Permissions (RBP) in iVendNext control access to documents, reports, and form fields. They’re key to maintaining security and smooth workflows. This article covers how RBP works, setup steps, and best practices.
Permissions in iVendNext are defined by:
Example: An "HR Manager" can submit leave applications, while an "Employee" can only create them.
Go to Home > Users and Permissions > Role Permissions Manager.
Click "Add a New Rule."
Select:
Role (e.g., "Accounts User").
Document Type (e.g., "Sales Invoice").
Permission Level (e.g., "2" for financial fields).
Assign rights for:
Read: View documents.
Write: Edit fields.
Create: Make new entries.
Submit/Cancel: Approve or reject records.
Restrict access to specific records (e.g., only "North Region" customers):
Go to User Permissions.
Link the role to a Territory, Customer, or Company.
Permission Levels group fields to hide or restrict them.
Set Perm Level 2 for salary fields in the Employee DocType.
In Role Permissions Manager, grant "HR Manager" Read/Write for Level 2, but deny others.
Note: Levels don’t imply hierarchy (e.g., Level 3 isn’t "higher" than Level 1). They’re just groups.
Sales User: Create invoices but cannot edit payment terms (Perm Level 1).
Accounts Manager: Edit all fields (Perm Level 0).
Here’s a quick look at some of the best practices for managing Role Based Permissions.
Least Privilege: Only grant necessary permissions (e.g., don’t give "Submit" to junior staff).
Test Roles: Use the "Permitted Documents for User" report to verify access.
Audit Logs: Review permission changes monthly.
Combine with User Permissions: For multi-company or territory-based restrictions.
Here’s a quick look at some common issues you might run into.
Users can’t see a document? Check:
Role assignment (User > Roles).
Document Type permissions (Role Permissions Manager).
User Permissions (e.g., territory restrictions).
Changes not applying? Clear the cache or restart the system.