Sunday, July 17, 2016

Permission and Roles in erpnext

ERPNext implements permission control at the User and Role level. Each user in the system can be assigned multiple roles and permissions.

1.Types of Roles in Erpnext




The most important role is the "System Manager". Any user having this role can add other users and set roles to all users.


Role Based Permissions








ERPNext has a role-based permission system. It means that you can assign Roles to Users, and set Permissions on Roles. The permission structure also allows you to define different permission rules for different fields, using a concept called Permission "Level" of a field. Once roles are assigned to a user, it gives you the ability to limit access for a user to only specific documents.
To start with, go to:
Setup > Permissions > Role Permissions Manager

Permissions are applied on a combination of:
  • Roles: As we saw earlier, Users are assigned to Roles and it is on these Roles that permission rules are applied.
    Examples of Roles include Accounts Manager, Employee, HR User.
  • Document Types: Each type of document, master or transaction, has a separate list of Role based permissions.
    Examples of Document Types are Sales Invoice, Leave Application, Stock Entry, etc.
  • Permission "Levels": In each document, you can group fields by "levels". Each group of field is denoted by a unique number (0, 1, 2, 3, etc.). A separate set of permission rules can be applied to each field group. By default all fields are of level 0.
    Permission "Level" connects the group of fields with level X to a permission rule with level X.
  • Document Stages: Permissions are applied on each stage of the document like on Creation, Saving, Submission, Cancellation and Amendment. A role can be permitted to Print, Email, Import or Export data, access Reports, or define User Permissions.
  • Apply User Permissions: This switch decides whether User Permissions should be applied for the role on selected Document Stages.
    If enabled, a user with that role will be able to access only specific Documents for that Document Type. Such specific Document access is defined in the list of User Permissions. Additionally, User Permissions defined for other Document Types also get applied if they are related to the current Document Type through Link Fields.
    To set, User Permissions go to:
    Setup > Permissions > User Permissions Manager


2 comments:

  1. it's just copy paste from official site. nothing else

    ReplyDelete