Permissions Configuration
On this page:
- Description
- Root Resource Paths
- JSON Representation
- Resource Paths
- Sub/Child Resource Paths
- Curl Examples
Description
The Permissions resource provides access to query and define permissions for iSymphony.
Root Resource Paths
communication_manager/api/resource/core/getBySlug/{core_server_slug}/permissions
JSON Representation
"key": "cellPhoneOriginateTo",
"allowed": false,
"exceptions": [
"df41edec-2707-46eb-8b8f-146b01d9b29e"
],
"inherited": false
}
Property | Type | Description |
---|---|---|
key | String | The key used for this permission configuration. |
allowed | Boolean | Whether the action should be generally allowed or not. |
exceptions | Array of Strings (UUID) | The objects defined in the exceptions will be granted or denied access as exceptions to the general rule. |
inherited | Boolean | Used internally. Should never be true when using the REST system. |
Resource Paths
communication_manager/api/resource/core/{core_server_id}/permissions/userGroup/{user_group_id} communication_manager/api/resource/core/getBySlug/{core_server_slug}/permissions/userGroup/{user_group_id} | |
---|---|
Description | Retrieves permissions for the user group identified by the {user_group_id} path parameter. Parameters:
Errors:
|
GET | Retrieves all permissions defined for the user group. |
communication_manager/api/resource/core/{core_server_id}/permissions/userGroup/{user_group_id}/{key} communication_manager/api/resource/core/getBySlug/{core_server_slug}/permissions/userGroup/{user_group_id}/{key} | |
---|---|
Description | Retrieves or updates a specific permission for a user group. Parameters:
Errors:
|
GET | Retrieves a specific permission for the user group. Errors:
|
PUT | Sets the permission definition for the user group with the specified key. The key defined in the permission definition body must match the key used in the URL. Errors:
|
DELETE | Clears the specific permission definition for the user group. Errors:
|
communication_manager/api/resource/core/{core_server_id}/permissions/user/{user_id} communication_manager/api/resource/core/getBySlug/{core_server_slug}/permissions/user/{user_id} | |
---|---|
Description | Retrieves permissions for the user group identified by the {user_id} path parameter. Parameters:
Errors:
|
GET | Retrieves all permissions defined for the user. |
communication_manager/api/resource/core/{core_server_id}/permissions/user/{user_id}/{key} communication_manager/api/resource/core/getBySlug/{core_server_slug}/permissions/user/{user_id}/{key} | |
---|---|
Description | Retrieves or updates a specific permission for a user group. Parameters:
Errors:
|
GET | Retrieves a specific permission for the user. Errors:
|
PUT | Sets the permission definition for the user with the specified key. The key defined in the permission definition body must match the key used in the URL. Errors:
|
DELETE | Clears the specific permission definition for the user. Errors:
|
Sub/Child Resource Paths
path | |
---|---|
Description | description |