On this page

Roles and permissions ​

What it's for ​

A role is a set of permissions that you assign to users. On this screen you create roles, choose their permissions in a matrix, and add data scope rules to a role. For the concepts behind this, see Permissions and data scope.

Where to find it ​

  • Menu: Platform → Roles.
  • URL: /platform/roles; a specific role is at /platform/roles/<id>.

Permissions ​

ActionKeyLabel
Viewplatform.role.viewMenus Permissions - View
New roleplatform.role.createMenus Permissions - Create
Editplatform.role.updateMenus Permissions - Update
Deleteplatform.role.deleteMenus Permissions - Delete

The list ​

Columns: Name, Code, Permissions (how many) and Type (System role or Custom role). You can filter by Name. The toolbar has a New role button.

Every organisation starts with the Administrator system role, which has every permission, plus a set of ready-made custom roles that you can edit: Accountant, Storekeeper, Inventory controller, Cashier, HR officer, Sales, Sales supervisor, Purchasing, Purchasing manager, Accounts payable clerk and Auditor (I2).

Segregation of duties (SP17). Among the ready-made roles, only Inventory controller, Sales supervisor and Purchasing manager approve documents. These three can't create, edit, delete or import the documents they approve. None of the other ready-made roles has any approval permission. And no ready-made role combines any two of these three permissions: posting a goods receipt, posting a supplier invoice, and posting a payment voucher.

The role page ​

The page title is the role's name, with its code below and its type, System role or Custom role. The main fields are Code and Permissions (the count). The sections are General, Permissions, Data access and History.

System roles are read-only and show this note: System roles are maintained by Positive and cannot be changed. Copy their permissions into a custom role if you need changes.

Fields ​

The New role dialog ​

FieldRequiredRules
CodeYesStarts with a lower-case English letter, followed by lower-case English letters, digits and _; 2 to 50 characters
Name (Arabic) / Name (English)At least one(I4)

The dialog shows this hint: The code uses lower-case letters, digits and underscores. Permissions are set on the role page.

The permissions matrix ​

PartWhat it does
Search permissionsNarrows the matrix by Arabic label, English label or key, and expands the modules that match
A panel per moduleIts header shows the module name (such as General ledger, Master data, Reports & analytics or Platform) and how many permissions are granted, as … of …. Select the header to expand it
AllGrants or removes every permission in the module
The tableOne row per screen (Screen) and one column per action: View, Add, Edit, Post, Delete, Print, History and Export
Other permissionsThe module's special permissions (such as accepting a price outside the allowed range), as checkboxes
An asterisk (*)The label is a machine translation awaiting review: Machine translation, awaiting review (I1)

The general ledger reports (trial balance, account statement and so on) are under the Reports & analytics module.

How to ​

Create a role ​

  1. Select New role.
  2. Enter the Code (for example, senior_accountant) and a name.
  3. Select Create. The role page opens.
  4. Select Edit, expand the modules under Permissions, and select the checkboxes you need.
  5. Select Save. You see Role saved.
  6. Assign the role to users on the Users screen.

Copy a system role's permissions into a custom role ​

There's no copy button. Instead, create a new custom role and select the same permissions in it. A quick way is to use the All checkbox for each module, then clear the permissions you don't want.

Restrict a role's data scope ​

  1. Select Edit. Under Data access, select Add restriction.
  2. Choose Restrict by, Access and the values.
  3. Select Save.

A role's rules apply to every user who holds the role, in the company where it was assigned (P7).

Delete a role ​

Select Delete and confirm: The role … will be deleted. Roles that are still assigned cannot be deleted.

Common error messages ​

MessageCauseWhat to do
The role is still assigned to users and cannot be deleted.Users still hold the roleRemove it from those users first
System roles cannot be changed.You tried to edit a system roleCreate a custom role instead
This code is already used.The code is a duplicateChoose a different code
No permissions match.The search found nothingChange the search text