Interface ilOrgUnitPositionAccessHandler.
More...
|
| filterUserIdsForCurrentUsersPositionsAndPermission (array $user_ids, $permission) |
|
| filterUserIdsForUsersPositionsAndPermission (array $user_ids, $for_user_id, $permission) |
|
| isCurrentUserBasedOnPositionsAllowedTo ($permission, array $on_user_ids) |
|
| isUserBasedOnPositionsAllowedTo ($which_user_id, $permission, array $on_user_ids) |
|
| checkPositionAccess ($pos_perm, $ref_id) |
|
| hasCurrentUserAnyPositionAccess ($ref_id) |
|
| filterUserIdsByPositionOfCurrentUser ($pos_perm, $ref_id, array $user_ids) |
|
| filterUserIdsByPositionOfUser ($user_id, $pos_perm, $ref_id, array $user_ids) |
|
◆ checkPositionAccess()
ilOrgUnitPositionAccessHandler::checkPositionAccess |
( |
|
$pos_perm, |
|
|
|
$ref_id |
|
) |
| |
- Parameters
-
string | $pos_perm | |
int | $ref_id | Reference-ID of the desired Object in the tree |
- See also
- getAvailablePositionRelatedPermissions for available permissions
- Returns
- bool
Implemented in ilAccess, and ilOrgUnitPositionAccess.
◆ filterUserIdsByPositionOfCurrentUser()
ilOrgUnitPositionAccessHandler::filterUserIdsByPositionOfCurrentUser |
( |
|
$pos_perm, |
|
|
|
$ref_id, |
|
|
array |
$user_ids |
|
) |
| |
- Parameters
-
string | $pos_perm | |
int | $ref_id | |
| int[] | $user_ids |
- See also
- getAvailablePositionRelatedPermissions for available permissions
- Returns
- int[]
Implemented in ilAccess, and ilOrgUnitPositionAccess.
◆ filterUserIdsByPositionOfUser()
ilOrgUnitPositionAccessHandler::filterUserIdsByPositionOfUser |
( |
|
$user_id, |
|
|
|
$pos_perm, |
|
|
|
$ref_id, |
|
|
array |
$user_ids |
|
) |
| |
- Parameters
-
int | $user_id | |
string | $pos_perm | |
int | $ref_id | |
| int[] | $user_ids |
- See also
- getAvailablePositionRelatedPermissions for available permissions
- Returns
- int[]
Implemented in ilAccess, and ilOrgUnitPositionAccess.
◆ filterUserIdsForCurrentUsersPositionsAndPermission()
ilOrgUnitPositionAccessHandler::filterUserIdsForCurrentUsersPositionsAndPermission |
( |
array |
$user_ids, |
|
|
|
$permission |
|
) |
| |
- Parameters
-
| int[] | $user_ids List of ILIAS-User-IDs which shall be filtered |
string | $permission | |
- See also
- getAvailablePositionRelatedPermissions for available permissions
- Exceptions
-
Implemented in ilAccess, and ilOrgUnitPositionAccess.
◆ filterUserIdsForUsersPositionsAndPermission()
ilOrgUnitPositionAccessHandler::filterUserIdsForUsersPositionsAndPermission |
( |
array |
$user_ids, |
|
|
|
$for_user_id, |
|
|
|
$permission |
|
) |
| |
- Parameters
-
| int[] | $user_ids List of ILIAS-User-IDs which shall be filtered |
int | $for_user_id | |
string | $permission | |
- See also
- getAvailablePositionRelatedPermissions for available permissions
- Exceptions
-
Implemented in ilAccess, and ilOrgUnitPositionAccess.
◆ hasCurrentUserAnyPositionAccess()
ilOrgUnitPositionAccessHandler::hasCurrentUserAnyPositionAccess |
( |
|
$ref_id | ) |
|
◆ isCurrentUserBasedOnPositionsAllowedTo()
ilOrgUnitPositionAccessHandler::isCurrentUserBasedOnPositionsAllowedTo |
( |
|
$permission, |
|
|
array |
$on_user_ids |
|
) |
| |
- Parameters
-
string | $permission | |
| int[] | $on_user_ids List of ILIAS-User-IDs |
- See also
- getAvailablePositionRelatedPermissions for available permissions
- Returns
- bool
Implemented in ilAccess, and ilOrgUnitPositionAccess.
◆ isUserBasedOnPositionsAllowedTo()
ilOrgUnitPositionAccessHandler::isUserBasedOnPositionsAllowedTo |
( |
|
$which_user_id, |
|
|
|
$permission, |
|
|
array |
$on_user_ids |
|
) |
| |
- Parameters
-
int | $which_user_id | Permission check for this ILIAS-User-ID |
string | $permission | |
| int[] | $on_user_ids List of ILIAS-User-IDs |
- See also
- getAvailablePositionRelatedPermissions for available permissions
- Returns
- bool
Implemented in ilAccess, and ilOrgUnitPositionAccess.
The documentation for this interface was generated from the following file: