ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilOrgUnitPositionAccessHandler.php
Go to the documentation of this file.
1 <?php
2 
25 {
35  public function filterUserIdsForCurrentUsersPositionsAndPermission(array $user_ids, string $permission): array;
36 
48  array $user_ids,
49  int $for_user_id,
50  string $permission
51  ): array;
52 
59  public function isCurrentUserBasedOnPositionsAllowedTo(string $permission, array $on_user_ids): bool;
60 
68  public function isUserBasedOnPositionsAllowedTo(int $which_user_id, string $permission, array $on_user_ids): bool;
69 
76  public function checkPositionAccess(string $pos_perm, int $ref_id): bool;
77 
82  public function hasCurrentUserAnyPositionAccess(int $ref_id): bool;
83 
91  public function filterUserIdsByPositionOfCurrentUser(string $pos_perm, int $ref_id, array $user_ids): array;
92 
101  public function filterUserIdsByPositionOfUser(int $user_id, string $pos_perm, int $ref_id, array $user_ids): array;
102 }
isCurrentUserBasedOnPositionsAllowedTo(string $permission, array $on_user_ids)
isUserBasedOnPositionsAllowedTo(int $which_user_id, string $permission, array $on_user_ids)
hasCurrentUserAnyPositionAccess(int $ref_id)
checkPositionAccess(string $pos_perm, int $ref_id)
$ref_id
Definition: ltiauth.php:65
filterUserIdsByPositionOfCurrentUser(string $pos_perm, int $ref_id, array $user_ids)
filterUserIdsByPositionOfUser(int $user_id, string $pos_perm, int $ref_id, array $user_ids)
filterUserIdsForUsersPositionsAndPermission(array $user_ids, int $for_user_id, string $permission)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
filterUserIdsForCurrentUsersPositionsAndPermission(array $user_ids, string $permission)