Each specific role is associated with particular modules, and each module contains multiple permissions. When assigning a permission to a specific role, there is validation that ensures that the specified permissions are allowed for the role.
Returns a collection with a key, ID, and link for each permission.
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "1",
- "href": "/objects/company-config/permission/1"
}, - {
- "key": "2",
- "id": "2",
- "href": "/objects/company-config/permission/2"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified permission.
key required | string System-assigned unique key for the permission. Example: 183 |
OK
Bad Request
{- "ia::result": {
- "key": "1",
- "id": "1",
- "module": "myAccounting",
- "name": "switchToMyAccounting",
- "permissionGroup": "activitiesAndLists",
- "allowedAccessRights": [
- "list"
], - "href": "/objects/company-config/permission/1"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Use the query service to find permissions that meet certain criteria and to specify the properties that are returned.
OK