Configuring Role-Based Permissions for Documents

Configuring Role-Based Permissions for Documents

Overview

This article provides a step-by-step guide to setting up granular permissions for documents, including field-level restrictions and stage-based controls.





Step 1: Accessing the Role Permissions Manager

  1. Navigate to: Home > Users and Permissions > Role Permissions Manager.

  2. Select a Document Type (e.g., "Leave Application," "Sales Invoice").


Tip: Use the search bar to quickly find document types.




Step 2: Understanding Permission Components

Permissions are defined by five key elements:


Component

Description

Example

Role

User role (e.g., Employee, HR Manager).

"HR Manager" can approve leave requests.

Document Type

The document being controlled (e.g., Purchase Order).

Restrict access to "Salary Slips."

Permission Level

Groups fields by sensitivity (Level 0–9).

Level 1 = Salary fields (restricted).

Document Stage

Lifecycle stage (Creation, Submission, Cancellation).

Allow "Submit" only for Managers.

User Permissions

Limit access to specific records (e.g., only their leave applications).

The employee sees own records.




Step 3: Adding a New Permission Rule

  1. Click "Add a New Rule."

  2. Select:

    • Role (e.g., "Employee").

    • Permission Level (default: Level 0).

  3. Set permissions for each stage:

    • Read: View the document.

    • Write: Edit fields.

    • Create: Make new records.

    • Submit/Cancel: Change workflow status.




Step 4: Configuring Field-Level Permissions

Use Permission Levels to restrict sensitive fields:


  1. In the document (e.g., "Sales Invoice"), assign fields to levels:

    • Level 0: Basic fields (e.g., Sales Employee).

    • Level 1: Sensitive fields (e.g., Approval Status).

  2. In Role Permissions Manager, grant Level 1 access only to privileged roles (e.g., Sales Manager).


Example:


  • Sales Employee: Read/write Level 0 fields (e.g., Invoice dates).

  • Sales Manager: Read/write Level 1 fields (e.g., approval status).




Step 5: Restricting Document Access (User Permissions)

To limit users to specific records (e.g., only their territory’s sales orders):


  1. Click "Set User Permissions" in the Role Permissions Manager.

  2. Define filters (e.g., "Territory = East Region").




Real-World Use Cases

Let’s explore how sales invoice approval works in real-world scenario


1. Sales Invoice Approval

  • Sales User: Create invoices, but cannot submit.

  • Accounts Manager: Submit/cancel invoices.

  • Field Restriction: Level 1 = Discount % (only Managers can modify).




Troubleshooting

  • Issue: A user can’t see a document.
    Solution: Check their role’s User Permissions and Document Type access.


  • Issue: Fields are missing.
    Solution: Verify the user’s role has the correct Permission Level.




    • Related Articles

    • Role-Based Permissions: A Comprehensive Guide

      Overview 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. 1. Understanding ...
    • Role-Based Permissions and Access Control

      Overview This article outlines the steps to set up and manage role-based permissions in iVendNext to control access and protect sensitive data. What Are Role-Based Permissions? Role-Based Permissions in iVendNext allow administrators to define what ...
    • Understanding Role-Based Permissions

      Overview This article explains how roles work, their importance, and how to leverage them for seamless POS management. What Are Roles and Permissions? Roles A role is a collection of permissions assigned to users based on their job functions. For ...
    • User Permissions: Restricting Access to Specific Documents

      Overview Role-Based Permissions manage access to document types, while User Permissions limit access to specific records like assigned customers or territories. This guide shows how to set up User Permissions for tighter data control. 1. When to Use ...
    • Role-Based Access Control

      Overview Role-Based Access Control (RBAC) in iVendNext helps assign user permissions based on roles, ensuring secure and efficient access. This article explains RBAC setup and best practices for managing user access. What is Role-Based Access Control ...