Bitrix API

UserPermissionsManager

Table of Contents

Constants

ACTION_READ  = 'READ'
ACTION_UPDATE  = 'UPDATE'
ENTITY_SCHEDULE  = 'SCHEDULE'
ENTITY_SHIFT_PLAN  = 'SHIFT_PLAN'
ENTITY_WORKTIME_RECORD  = 'WORKTIME_RECORD'
OP_MANAGE_WORKTIME  = 'tm_manage'
OP_MANAGE_WORKTIME_ALL  = 'tm_manage_all'
OP_READ_SCHEDULES_ALL  = 'tm_read_schedules_all'
OP_READ_SHIFT_PLANS_ALL  = 'tm_read_shift_plans_all'
OP_READ_WORKTIME_ALL  = 'tm_read'
OP_READ_WORKTIME_SUBORDINATE  = 'tm_read_subordinate'
OP_UPDATE_SCHEDULES_ALL  = 'tm_update_schedules_all'
OP_UPDATE_SETTINGS  = 'tm_settings'
OP_UPDATE_SHIFT_PLANS_ALL  = 'tm_update_shift_plans_all'
OP_UPDATE_WORKTIME_ALL  = 'tm_write'
OP_UPDATE_WORKTIME_SUBORDINATE  = 'tm_write_subordinate'

Methods

__construct()  : mixed
canApproveWorktime()  : bool
canCreateSchedule()  : mixed
canCreateViolationRules()  : mixed
canDeleteSchedule()  : mixed
canDeleteSchedules()  : mixed
canManageWorktime()  : mixed
canManageWorktimeAll()  : mixed
canReadSchedule()  : mixed
canReadSchedules()  : mixed
canReadShiftPlan()  : mixed
canReadWorktime()  : mixed
canReadWorktimeAll()  : mixed
canReadWorktimeSubordinate()  : mixed
canUpdateSchedule()  : mixed
canUpdateSchedules()  : mixed
canUpdateSettings()  : mixed
canUpdateShiftPlan()  : mixed
canUpdateShiftPlans()  : mixed
canUpdateViolationRules()  : mixed
canUpdateWorktime()  : mixed
canUpdateWorktimeAll()  : mixed
canUpdateWorktimeSubordinate()  : mixed
getActionTitle()  : mixed
getActionTitles()  : mixed
getEntityTitle()  : mixed
getInstanceByUser()  : mixed
getMap()  : mixed
getOperationsNames()  : mixed
getUserCodesAccessibleToRead()  : mixed
getUserIdsAccessibleToRead()  : mixed

Constants

OP_UPDATE_WORKTIME_SUBORDINATE

public mixed OP_UPDATE_WORKTIME_SUBORDINATE = 'tm_write_subordinate'

Methods

canApproveWorktime()

public canApproveWorktime(mixed $recordOwnerUserId) : bool
Parameters
$recordOwnerUserId : mixed
Return values
bool

canCreateViolationRules()

public canCreateViolationRules(mixed $entityCode) : mixed
Parameters
$entityCode : mixed

canDeleteSchedule()

public canDeleteSchedule(mixed $scheduleId) : mixed
Parameters
$scheduleId : mixed

canReadSchedule()

public canReadSchedule(mixed $scheduleId) : mixed
Parameters
$scheduleId : mixed

canReadShiftPlan()

public canReadShiftPlan(mixed $scheduleId) : mixed
Parameters
$scheduleId : mixed

canReadWorktime()

public canReadWorktime(mixed $recordOwnerUserId) : mixed
Parameters
$recordOwnerUserId : mixed

canUpdateSchedule()

public canUpdateSchedule(mixed $scheduleId) : mixed
Parameters
$scheduleId : mixed

canUpdateShiftPlan()

public canUpdateShiftPlan(mixed $scheduleId) : mixed
Parameters
$scheduleId : mixed

canUpdateViolationRules()

public canUpdateViolationRules(mixed $entityCode) : mixed
Parameters
$entityCode : mixed

canUpdateWorktime()

public canUpdateWorktime(mixed $recordOwnerUserId) : mixed
Parameters
$recordOwnerUserId : mixed

getInstanceByUser()

public static getInstanceByUser(CUser $user) : mixed
Parameters
$user : CUser

        
On this page

Search results