1C-Bitrix 25.700.0
|
Открытые статические члены | |
static | setOff () |
static | setOn () |
static | setGlobalOff () |
static | setGlobalOn () |
static | isOn () |
static | isAdmin () |
static | getAllowedSites () |
static | setContextUserId (int $uid) |
static | clearContextUserId () |
static | getContextUserId () |
static | getAccessTasks () |
static | getAccessTasksReferences () |
static | removeDataForSite ($siteId) |
static | getDataForSite ($siteId, array $preDefined=[]) |
static | getOperationsForSite ($siteId) |
static | hasAccessForSite ($siteId, $accessType, $deleted=false) |
static | hasAccessForLanding ($landingId, $accessType) |
static | setOperationsForSite ($siteId, array $rights=[]) |
static | getAccessFilter (array $additionalFilterOr=[]) |
static | isExtendedMode () |
static | switchMode () |
static | refreshAdditionalRights (array $additionalRights=[]) |
static | setAdditionalRightExtended ($code, array $accessCodes=[]) |
static | getAdditionalRightExtended ($code) |
static | getAdditionalRightsLabels () |
static | hasAdditionalRight ($code, $type=null, bool $checkExtraRights=false, bool $strict=false) |
Поля данных | |
const | ENTITY_TYPE_SITE = 'S' |
const | ACCESS_TYPES |
const | ADDITIONAL_RIGHTS |
const | SET_PREFIX |
const | REVERSE_RIGHTS |
Защищенные статические члены | |
static | isFeatureOn () |
static | removeData ($entityId, $entityType) |
static | getData ($entityId, $entityType, array $preDefined=[]) |
static | getOperations ($entityId, $entityType) |
static | setOperations ($entityId, $entityType, array $rights=[]) |
static | exist () |
static | hasExtraRights () |
Статические защищенные данные | |
static | $allowedSites = [] |
static | $available = true |
static | $globalAvailable = true |
static | $userId = null |
См. определение в файле rights.php строка 11
|
static |
|
staticprotected |
|
static |
Gets access filter for current user.
array | $additionalFilterOr | Additional filter for OR section. |
См. определение в файле rights.php строка 726
|
static |
|
static |
|
static |
Gets additional right.
string | $code | Code from ADDITIONAL_RIGHTS. |
См. определение в файле rights.php строка 912
|
static |
|
static |
Returns allowed sites with full access.
См. определение в файле rights.php строка 158
|
static |
Returns context user id (current by default).
См. определение в файле rights.php строка 186
|
staticprotected |
Get all rows for entity.
int | array | $entityId | Entity id (id or array of id). |
string | $entityType | Entity type. |
array | $preDefined | Predefined array of rights. |
См. определение в файле rights.php строка 295
|
static |
Get all rows for site.
int | array | $siteId | Site id (id or array of id). |
array | $preDefined | Predefined array of rights. |
См. определение в файле rights.php строка 385
|
staticprotected |
Get all available operations for entity (for current user).
int | array | $entityId | Entity id (id or array of id). |
string | $entityType | Entity type. |
См. определение в файле rights.php строка 400
|
static |
Returns all available operations for site (for current user).
int | array | $siteId | Site id (id or array of id). |
См. определение в файле rights.php строка 520
|
static |
Can current user do something.
int | $landingId | Landing id. |
string | $accessType | Access type code. |
См. определение в файле rights.php строка 580
|
static |
Can current user do something.
int | $siteId | Site id. |
string | $accessType | Access type code. |
bool | $deleted | And from recycle bin. |
См. определение в файле rights.php строка 546
|
static |
Has current user additional right or not.
string | $code | Code from ADDITIONAL_RIGHTS. |
string | $type | Scope type. |
bool | $checkExtraRights | Check extra rights. |
См. определение в файле rights.php строка 1027
|
staticprotected |
|
static |
|
static |
|
staticprotected |
Available or not permission feature by current plan.
См. определение в файле rights.php строка 199
|
static |
Check current status for checking rights.
См. определение в файле rights.php строка 125
|
static |
Refresh additional rights for all roles.
array | $additionalRights | Array for set additional. |
См. определение в файле rights.php строка 814
|
staticprotected |
Remove all rows for entity.
int | array | $entityId | Entity id (id or array of id). |
string | $entityType | Entity type. |
См. определение в файле rights.php строка 255
|
static |
Remove all rows for site.
int | array | $siteId | Site id (id or array of id). |
См. определение в файле rights.php строка 280
|
static |
Set additional right.
string | $code | Code from ADDITIONAL_RIGHTS. |
array | $accessCodes | Additional rights array. |
См. определение в файле rights.php строка 894
|
static |
Sets context user id.
int | $uid |
См. определение в файле rights.php строка 168
|
static |
Set rights checking to 'no' (global mode).
См. определение в файле rights.php строка 107
|
static |
Set rights checking to 'yes' (global mode).
См. определение в файле rights.php строка 116
|
static |
|
static |
|
staticprotected |
Set operations for entity.
int | $entityId | Entity id. |
string | $entityType | Entity type. |
array | $rights | Rights array (set empty for clear rights). |
См. определение в файле rights.php строка 626
|
static |
Set operations for site.
int | $siteId | Site id. |
array | $rights | Rights array (set empty for clear rights). |
См. определение в файле rights.php строка 677
|
static |
|
staticprotected |
См. определение в файле rights.php строка 65
|
staticprotected |
См. определение в файле rights.php строка 71
|
staticprotected |
См. определение в файле rights.php строка 77
|
staticprotected |
См. определение в файле rights.php строка 83
const ACCESS_TYPES |
Access types for different levels.
См. определение в файле rights.php строка 21
const ADDITIONAL_RIGHTS |
Additional rights for some functionality.
См. определение в файле rights.php строка 33
const ENTITY_TYPE_SITE = 'S' |
Site entity type.
См. определение в файле rights.php строка 16
const REVERSE_RIGHTS |
См. определение в файле rights.php строка 55
const SET_PREFIX |
См. определение в файле rights.php строка 50