PermissionTable
Description and methods
ORM class for handling access permissions settings table.
Chain of inheritance
Descendant of class Bitrix\Main\ORM\Data\DataManager.
Methods
Method | Description | Available from version |
---|---|---|
public static function deleteByEntity(string $entity, int $entityId): void |
Deletes all records from table, associated with entity $entity with ID $entityId . |
Table fields
Field | Description | Type | Required |
---|---|---|---|
ID | Identifier. | Int | Yes |
ENTITY | Entity string identifier. Usually accepts one of the following values:
| String | Yes |
ENTITY_ID | Entity ID. | Int | Yes |
ACCESS_CODE | Acmes permission owner string ID. Kernel rules are used to build this string. For example, U1 - it is user with ID=1 . UA - all users. | String | Yes |
ACTION | Action ID string. Can have one of the following values:
| String | |
PERMISSION | Access permission level for string ID. Can have only one of the following values:
| String | Yes |
© «Bitrix24», 2001-2024