Permission

Entity description

Access to a capability/feature that can be granted to a staff member.

Properties

NameDescriptionTypeExample
unique_codeThe unique identifier of the Permissionstringpayments.invoices.export
nameThe name of the permission shown to the user in EnglishstringExport Invoices
descriptionThe description of the permission shown to the user in EnglishstringCan export invoices
positionThe display position of the permission in the list of permissionsinteger1
is_changableA flag to indicate if the permission, after assigned, can be edited by the business. By default, permissions are editable, but some permissions like business_management.admin_account.manage cannot be changed after being assignedbooleantrue
created_atDate the Permission was createdstring2021-07-20T14:00:00.000Z
updated_atDate the Permission was last updatedstring2021-07-20T14:00:00.000Z

Example

{
  "unique_code": "payments.invoices.export",
  "name": "Export Invoices",
  "description": "Can export invoices",
  "position": 1,
  "is_changable": true,
  "created_at": "2021-07-20T14:00:00.000Z",
  "updated_at": "2021-07-20T14:00:00.000Z"
}