Documentation

entity.rights

Gets or modifies storage access permissions. Return current access permissions.

User must have (X) storage management permissions to modify access permissions. User cannot revoke his/her own Manage permission.

Parameters

Parameter Description
ENTITY Required. String ID of updated storage.
ACCESS Description of new storage access permissions.
Should be an associative array whose keys are access permission IDs and whose values are: R (Read), W (Write), or X (Manage).

Example

BX24.callMethod('entity.rights', {'ENTITY': 'dish'});
Response

{"result":{"AU":"R","U254":"W","D115":"W","U255":"W","U260":"W"}}



© «Bitrix24», 2001-2024