ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ILIAS\MyStaff\ilMyStaffAccess Class Reference

Class ilMyStaffAccess. More...

+ Inheritance diagram for ILIAS\MyStaff\ilMyStaffAccess:
+ Collaboration diagram for ILIAS\MyStaff\ilMyStaffAccess:

Public Member Functions

 __construct ()
 
 hasCurrentUserAccessToMyStaff ()
 
 hasCurrentUserAccessToCertificates ()
 
 hasCurrentUserAccessToTalks ()
 
 hasCurrentUserAccessToCompetences ()
 
 hasCurrentUserAccessToCourseMemberships ()
 
 hasCurrentUserAccessToStaffList ()
 
 hasCurrentUserAccessToUser (int $usr_id)
 
 hasCurrentUserAccessToLearningProgressInObject (int $ref_id=0)
 
 hasCurrentUserAccessToCourseLearningProgressForAtLeastOneUser ()
 
 countOrgusOfUserWithAtLeastOneOperation (int $user_id)
 
 getUsersForUserOperationAndContext (int $user_id, string $org_unit_operation_string, string $context, string $tmp_table_name_prefix=self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_USER_MATRIX)
 
 getUsersForUserPerPosition (int $user_id)
 
 getUsersForUser (int $user_id, ?int $position_id=null)
 
 getIdsForUserAndOperation (int $user_id, string $operation, bool $return_ref_id=false)
 
 getIdsForPositionAndOperation (int $position_id, string $operation, bool $return_ref_id)
 
 hasPositionDefaultPermissionForOperationInContext (int $position_id, int $operation_id, int $context_id)
 
 getIlobjectsAndUsersForUserOperationAndContext (int $user_id, string $org_unit_operation_string, string $context)
 
 buildTempTableIlobjectsUserMatrixForUserOperationAndContext (int $user_id, string $org_unit_operation_string, string $context, string $temporary_table_name_prefix=self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_USER_MATRIX)
 
 buildTempTableIlobjectsSpecificPermissionSetForOperationAndContext (string $org_unit_operation_string, string $context, string $temporary_table_name_prefix=self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_SPEC_PERMISSIONS)
 
 buildTempTableCourseMemberships (string $temporary_table_name_prefix=self::TMP_DEFAULT_TABLE_NAME_PREFIX_CRS_MEMBERS, array $only_courses_of_user_ids=array())
 
 buildTempTableOrguMemberships (string $temporary_table_name_prefix=self::TMP_DEFAULT_TABLE_NAME_PREFIX_ORGU_MEMBERS, array $only_orgus_of_user_ids=array())
 
 dropTempTable (string $temporary_table_name)
 
- Public Member Functions inherited from ilObjectAccess
 _checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null)
 Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More...
 
 canBeDelivered (ilWACPath $ilWACPath)
 
 canBeDelivered (ilWACPath $ilWACPath)
 

Static Public Member Functions

static getInstance ()
 
static isMyStaffActive ()
 
- Static Public Member Functions inherited from ilObjectAccess
static _getCommands ()
 get commands More...
 
static _checkGoto (string $target)
 check whether goto script will succeed More...
 
static _isOffline (int $obj_id)
 Type-specific implementation of general status, has to be overwritten if object type does not support centralized offline handling. More...
 
static _preloadData (array $obj_ids, array $ref_ids)
 Preload data. More...
 

Data Fields

const string TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_SPEC_PERMISSIONS = 'tmp_obj_spec_perm'
 
const string TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_DEFAULT_PERMISSIONS = 'tmp_obj_def_perm'
 
const string TMP_DEFAULT_TABLE_NAME_PREFIX_IL_ORGU_DEFAULT_PERMISSIONS = 'tmp_orgu_def_perm'
 
const string TMP_DEFAULT_TABLE_NAME_PREFIX_CRS_MEMBERS = 'tmp_crs_members'
 
const string TMP_DEFAULT_TABLE_NAME_PREFIX_ORGU_MEMBERS = 'tmp_orgu_members'
 
const string TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_USER_MATRIX = 'tmp_obj_user_matr'
 
const string ACCESS_ENROLMENTS_ORG_UNIT_OPERATION = ilOrgUnitOperation::OP_ACCESS_ENROLMENTS
 
const string COURSE_CONTEXT = ilOrgUnitOperationContext::CONTEXT_CRS
 
const string EXERCISE_CONTEXT = ilOrgUnitOperationContext::CONTEXT_EXC
 
const string GROUP_CONTEXT = ilOrgUnitOperationContext::CONTEXT_GRP
 
const string SURVEY_CONTEXT = ilOrgUnitOperationContext::CONTEXT_SVY
 
const string TEST_CONTEXT = ilOrgUnitOperationContext::CONTEXT_TST
 
const string EMPLOYEE_TALK_CONTEXT = ilOrgUnitOperationContext::CONTEXT_ETAL
 

Protected Attributes

array $users_for_user = []
 

Static Protected Attributes

static self $instance = null
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MyStaff\ilMyStaffAccess::__construct ( )

Definition at line 78 of file class.ilMyStaffAccess.php.

79 {
80 }

Member Function Documentation

◆ buildTempTableCourseMemberships()

ILIAS\MyStaff\ilMyStaffAccess::buildTempTableCourseMemberships ( string  $temporary_table_name_prefix = self::TMP_DEFAULT_TABLE_NAME_PREFIX_CRS_MEMBERS,
array  $only_courses_of_user_ids = array() 
)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 914 of file class.ilMyStaffAccess.php.

917 : string {
918 global $DIC;
919
920 $temporary_table_name = $temporary_table_name_prefix . "_user_id_" . $DIC->user()->getId();
921
922 if ($temporary_table_name != self::TMP_DEFAULT_TABLE_NAME_PREFIX_CRS_MEMBERS . "_user_id_" . $DIC->user()->getId()
923 || count($only_courses_of_user_ids) > 0
924 ) {
925 $this->dropTempTable($temporary_table_name);
926 }
927
928 $q = "CREATE TEMPORARY TABLE IF NOT EXISTS " . $temporary_table_name . "
929 (INDEX i1(ref_id), INDEX i2 (usr_id), INDEX i3 (position_id), INDEX i4 (orgu_id))
930 AS (
931 SELECT crs_members_crs_ref.ref_id, crs_members.usr_id, orgu_ua.position_id, orgu_ua.orgu_id
932 FROM (
933 SELECT obj_id, usr_id FROM obj_members WHERE admin > 0 OR tutor > 0 OR member > 0
934 AND " . $DIC->database()->in(
935 'obj_members.usr_id',
936 $only_courses_of_user_ids,
937 false,
938 'integer'
939 ) . "
940 UNION
941 SELECT obj_id, usr_id FROM crs_waiting_list
942 WHERE " . $DIC->database()->in(
943 'crs_waiting_list.usr_id',
944 $only_courses_of_user_ids,
945 false,
946 'integer'
947 ) . "
948 UNION
949 SELECT obj_id, usr_id FROM il_subscribers
950 WHERE " . $DIC->database()->in(
951 'il_subscribers.usr_id',
952 $only_courses_of_user_ids,
953 false,
954 'integer'
955 ) . "
956 ) AS crs_members
957 INNER JOIN object_reference AS crs_members_crs_ref on crs_members_crs_ref.obj_id = crs_members.obj_id
958 INNER JOIN il_orgu_ua AS orgu_ua on orgu_ua.user_id = crs_members.usr_id
959 );";
960
961 $DIC->database()->manipulate($q);
962
963 return $temporary_table_name;
964 }
dropTempTable(string $temporary_table_name)
global $DIC
Definition: shib_login.php:26
$q
Definition: shib_logout.php:23

◆ buildTempTableIlobjectsSpecificPermissionSetForOperationAndContext()

ILIAS\MyStaff\ilMyStaffAccess::buildTempTableIlobjectsSpecificPermissionSetForOperationAndContext ( string  $org_unit_operation_string,
string  $context,
string  $temporary_table_name_prefix = self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_SPEC_PERMISSIONS 
)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 765 of file class.ilMyStaffAccess.php.

769 : string {
770 global $DIC;
771
772 $temporary_table_name = $temporary_table_name_prefix . "_" . $org_unit_operation_string . "_" . $context;
773
774 $operation = ilOrgUnitOperationQueries::findByOperationString($org_unit_operation_string, $context);
775 assert($operation instanceof ilOrgUnitOperation);
776
777 if ($temporary_table_name != self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_SPEC_PERMISSIONS . "_" . self::ACCESS_ENROLMENTS_ORG_UNIT_OPERATION . "_"
778 . self::COURSE_CONTEXT
779 ) {
780 $this->dropTempTable($temporary_table_name);
781 }
782
783 $q = "CREATE TEMPORARY TABLE IF NOT EXISTS " . $temporary_table_name . "
784 (INDEX i1 (perm_for_ref_id), INDEX i2 (perm_for_orgu_id), INDEX i3 (perm_orgu_scope), INDEX i4 (perm_for_position_id), INDEX i5 (perm_over_user_with_position))
785 AS (
786 SELECT
787 obj_ref.ref_id AS perm_for_ref_id,
788 orgu_ua.orgu_id AS perm_for_orgu_id,
789 auth.scope AS perm_orgu_scope,
790 orgu_ua.position_id AS perm_for_position_id,
791 auth.over AS perm_over_user_with_position
792 FROM
793 il_orgu_permissions AS perm
794 INNER JOIN il_orgu_ua AS orgu_ua ON orgu_ua.position_id = perm.position_id
795 INNER JOIN il_orgu_authority AS auth ON auth.position_id = orgu_ua.position_id AND orgu_ua.user_id = " . $GLOBALS['DIC']->user()
796 ->getId() . "
797 INNER JOIN object_reference AS obj_ref ON obj_ref.ref_id = perm.parent_id
798 INNER JOIN object_data AS obj ON obj.obj_id = obj_ref.obj_id AND obj.type = '$context'
799 INNER JOIN il_orgu_op_contexts AS contexts on contexts.id = perm.context_id AND contexts.context = '$context'
800 WHERE
801 perm.operations REGEXP '[\\\[,]\"?" . $operation->getOperationId() . "\"?[\],]'
802 );";
803
804 $DIC->database()->manipulate($q);
805
806 return $temporary_table_name;
807 }
static findByOperationString(string $operation_string, string $context_name)
@deprecated Please use find() from OrgUnitOperationRepository
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$GLOBALS["DIC"]
Definition: wac.php:54
$context
Definition: webdav.php:31

◆ buildTempTableIlobjectsUserMatrixForUserOperationAndContext()

ILIAS\MyStaff\ilMyStaffAccess::buildTempTableIlobjectsUserMatrixForUserOperationAndContext ( int  $user_id,
string  $org_unit_operation_string,
string  $context,
string  $temporary_table_name_prefix = self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_USER_MATRIX 
)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 626 of file class.ilMyStaffAccess.php.

631 : string {
632 global $DIC;
633
634 $temporary_table_name = $temporary_table_name_prefix . "_" . $org_unit_operation_string . "_" . $context;
635
636 $operation = ilOrgUnitOperationQueries::findByOperationString($org_unit_operation_string, $context);
637 assert($operation instanceof ilOrgUnitOperation);
638
639 $all_users_for_user = $this->getUsersForUser($GLOBALS['DIC']->user()->getId());
640
641
642 $tmp_table_objects_specific_perimissions = $this->buildTempTableIlobjectsSpecificPermissionSetForOperationAndContext(
643 $org_unit_operation_string,
644 $context,
645 self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_SPEC_PERMISSIONS
646 );
647
648 $tmp_table_objects_default_perimissions = $this->buildTempTableIlobjectsDefaultPermissionSetForOperationAndContext(
649 $org_unit_operation_string,
650 $context,
651 self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_DEFAULT_PERMISSIONS
652 );
653
654 $tmp_table_orgunit_default_perimissions = $this->buildTempTableIlorgunitDefaultPermissionSetForOperationAndContext(
655 $org_unit_operation_string,
656 $context,
657 self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_ORGU_DEFAULT_PERMISSIONS
658 );
659
660 $tmp_table_course_members = $this->buildTempTableCourseMemberships(
661 self::TMP_DEFAULT_TABLE_NAME_PREFIX_CRS_MEMBERS,
662 $all_users_for_user
663 );
664
665 $tmp_table_orgu_members = $this->buildTempTableOrguMemberships(
666 self::TMP_DEFAULT_TABLE_NAME_PREFIX_ORGU_MEMBERS,
667 $all_users_for_user
668 );
669
670 $tmp_table_orgu_member_path = $this->buildTempTableOrguMemberships(
671 'tmp_orgu_members_path',
672 $all_users_for_user
673 );
674
675 if ($temporary_table_name != self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_USER_MATRIX . "_" . self::ACCESS_ENROLMENTS_ORG_UNIT_OPERATION . "_"
676 . self::COURSE_CONTEXT
677 ) {
678 $this->dropTempTable($temporary_table_name);
679 }
680
681 $q = "CREATE TEMPORARY TABLE IF NOT EXISTS " . $temporary_table_name . " AS (
682 SELECT DISTINCT user_perm_matrix.perm_for_ref_id, user_perm_matrix.usr_id FROM
683 (
684 SELECT crs.*," . $tmp_table_course_members . ".ref_id," . $tmp_table_course_members . ".usr_id FROM
685 (
686 SELECT * FROM " . $tmp_table_objects_specific_perimissions . "
687 UNION
688 SELECT * FROM " . $tmp_table_objects_default_perimissions . "
689 ) AS crs
690 INNER JOIN " . $tmp_table_course_members . " on " . $tmp_table_course_members . ".ref_id = crs.perm_for_ref_id
691 and (
692 (
693 " . $tmp_table_course_members . ".orgu_id = crs.perm_for_orgu_id AND " . $tmp_table_course_members . ".position_id = crs.perm_over_user_with_position AND perm_orgu_scope = 1
694 )
695 or perm_orgu_scope = 2
696 )
697 UNION
698 SELECT " . $tmp_table_orgunit_default_perimissions . ".*, " . $tmp_table_orgu_members . ".orgu_id AS ref_id, "
699 . $tmp_table_orgu_members . ".user_id FROM " . $tmp_table_orgunit_default_perimissions . "
700 INNER JOIN " . $tmp_table_orgu_members . " on " . $tmp_table_orgu_members . ".orgu_id = "
701 . $tmp_table_orgunit_default_perimissions . ".perm_for_ref_id
702 and (
703 (
704 " . $tmp_table_orgu_members . ".orgu_id = " . $tmp_table_orgunit_default_perimissions . ".perm_for_orgu_id AND "
705 . $tmp_table_orgu_members . ".user_position_id = " . $tmp_table_orgunit_default_perimissions . ".perm_over_user_with_position AND perm_orgu_scope = 1
706 )
707 or perm_orgu_scope = 2
708 )
709
710 ) AS user_perm_matrix
711 INNER JOIN " . $tmp_table_orgu_member_path . " AS path on path.user_id = user_perm_matrix.usr_id
712
713 INNER JOIN il_orgu_ua AS orgu_ua_current_user on orgu_ua_current_user.user_id = " . $DIC->database()->quote(
714 $user_id,
715 'integer'
716 ) . "
717 INNER JOIN il_orgu_permissions AS perm on perm.position_id = orgu_ua_current_user.position_id AND perm.parent_id = -1
718 INNER JOIN il_orgu_op_contexts AS contexts on contexts.id = perm.context_id AND contexts.context = '$context'
719 and perm.operations REGEXP '[\\\[,]\"?" . $operation->getOperationId() . "\"?[\],]'
720
721 AND
722 (
723 /* Identische OrgUnit wie Current User; Nicht Rekursiv; Fixe Position */
724 (orgu_ua_current_user.orgu_id = user_perm_matrix.perm_for_orgu_id AND user_perm_matrix.perm_orgu_scope = 1
725 AND orgu_ua_current_user.position_id = user_perm_matrix.perm_for_position_id AND user_perm_matrix.perm_over_user_with_position <> -1
726 )
727 OR
728 /* Identische OrgUnit wie Current User; Nicht Rekursiv; Position egal */
729 (orgu_ua_current_user.orgu_id = user_perm_matrix.perm_for_orgu_id AND user_perm_matrix.perm_orgu_scope = 1 AND user_perm_matrix.perm_over_user_with_position = -1)
730 OR
731 /* Kinder OrgUnit wie Current User */
732 (
733 orgu_ua_current_user.orgu_id = user_perm_matrix.perm_for_orgu_id
734 AND
735 (
736 path.orgu_id = user_perm_matrix.perm_for_orgu_id OR
737 path.tree_path LIKE CONCAT(\"%.\",user_perm_matrix.perm_for_orgu_id ,\".%\")
738 OR
739 path.tree_path LIKE CONCAT(\"%.\",user_perm_matrix.perm_for_orgu_id )
740 )
741 AND
742 (
743 (
744 (
745 /* Gleiche Position */
746 orgu_ua_current_user.position_id = user_perm_matrix.perm_for_position_id AND user_perm_matrix.perm_over_user_with_position <> -1
747 )
748 OR
749 (
750 /* Position Egal */
751 user_perm_matrix.perm_over_user_with_position = -1
752 )
753 )
754 AND user_perm_matrix.perm_orgu_scope = 2
755 )
756 )
757 )
758 );";
759
760 $DIC->database()->manipulate($q);
761
762 return $temporary_table_name;
763 }
buildTempTableOrguMemberships(string $temporary_table_name_prefix=self::TMP_DEFAULT_TABLE_NAME_PREFIX_ORGU_MEMBERS, array $only_orgus_of_user_ids=array())
buildTempTableCourseMemberships(string $temporary_table_name_prefix=self::TMP_DEFAULT_TABLE_NAME_PREFIX_CRS_MEMBERS, array $only_courses_of_user_ids=array())
getUsersForUser(int $user_id, ?int $position_id=null)
buildTempTableIlobjectsSpecificPermissionSetForOperationAndContext(string $org_unit_operation_string, string $context, string $temporary_table_name_prefix=self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_SPEC_PERMISSIONS)

◆ buildTempTableOrguMemberships()

ILIAS\MyStaff\ilMyStaffAccess::buildTempTableOrguMemberships ( string  $temporary_table_name_prefix = self::TMP_DEFAULT_TABLE_NAME_PREFIX_ORGU_MEMBERS,
array  $only_orgus_of_user_ids = array() 
)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 966 of file class.ilMyStaffAccess.php.

969 : string {
970 global $DIC;
971
972 $temporary_table_name = $temporary_table_name_prefix . "_user_id_" . $DIC->user()->getId();
973
974 if ($temporary_table_name != self::TMP_DEFAULT_TABLE_NAME_PREFIX_ORGU_MEMBERS . "_user_id_" . $DIC->user()->getId()
975 || count($only_orgus_of_user_ids) > 0
976 ) {
977 $this->dropTempTable($temporary_table_name);
978 }
979
980 $q = "CREATE TEMPORARY TABLE IF NOT EXISTS " . $temporary_table_name . "
981 (INDEX i1(orgu_id), INDEX i2 (tree_path(255)), INDEX i3 (tree_child), INDEX i4 (tree_parent), INDEX i5 (tree_lft), INDEX i6 (tree_rgt), INDEX i7 (user_position_id), INDEX i8 (user_id))
982 AS (
983 SELECT orgu_ua.orgu_id AS orgu_id,
984 tree_orgu.path AS tree_path,
985 tree_orgu.child AS tree_child,
986 tree_orgu.parent AS tree_parent,
987 tree_orgu.lft AS tree_lft,
988 tree_orgu.rgt AS tree_rgt,
989 orgu_ua.position_id AS user_position_id,
990 orgu_ua.user_id AS user_id
991 FROM
992 il_orgu_ua AS orgu_ua
993 INNER JOIN object_reference AS obj_ref on obj_ref.ref_id = orgu_ua.orgu_id AND obj_ref.deleted is null
994 LEFT JOIN tree AS tree_orgu ON tree_orgu.child = orgu_ua.orgu_id";
995
996 if (count($only_orgus_of_user_ids) > 0) {
997 $q .= " WHERE " . $DIC->database()->in('orgu_ua.user_id', $only_orgus_of_user_ids, false, 'integer') . " ";
998 }
999
1000 $q .= ");";
1001
1002 $DIC->database()->manipulate($q);
1003
1004 return $temporary_table_name;
1005 }

◆ countOrgusOfUserWithAtLeastOneOperation()

ILIAS\MyStaff\ilMyStaffAccess::countOrgusOfUserWithAtLeastOneOperation ( int  $user_id)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 332 of file class.ilMyStaffAccess.php.

332 : int
333 {
334 global $DIC;
335
336 $q = "SELECT COUNT(orgu_ua.orgu_id) AS 'cnt' FROM il_orgu_permissions AS perm
337 INNER JOIN il_orgu_ua AS orgu_ua ON orgu_ua.position_id = perm.position_id
338 INNER JOIN il_orgu_op_contexts AS contexts on contexts.id = perm.context_id AND contexts.context is not NULL
339 WHERE orgu_ua.user_id = " . $DIC->database()->quote(
340 $user_id,
341 'integer'
342 ) . " AND perm.operations is not NULL AND perm.parent_id = -1";
343
344 $set = $DIC->database()->query($q);
345 $rec = $DIC->database()->fetchAssoc($set);
346
347 return $rec['cnt'];
348 }

References $DIC, $q, and $user_id.

◆ dropTempTable()

ILIAS\MyStaff\ilMyStaffAccess::dropTempTable ( string  $temporary_table_name)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 1007 of file class.ilMyStaffAccess.php.

1007 : void
1008 {
1009 global $DIC;
1010
1011 $q = "DROP TABLE IF EXISTS " . $temporary_table_name;
1012 $DIC->database()->manipulate($q);
1013 }

References $DIC, and $q.

◆ getIdsForPositionAndOperation()

ILIAS\MyStaff\ilMyStaffAccess::getIdsForPositionAndOperation ( int  $position_id,
string  $operation,
bool  $return_ref_id 
)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 516 of file class.ilMyStaffAccess.php.

516 : array
517 {
518 $ids = [];
520 $ref_ids = $this->getIdsForPositionAndOperationAndContext(
521 $position_id,
522 $operation,
523 $context,
524 $return_ref_id
525 );
526 if (count($ref_ids) > 0) {
527 $ids = array_merge($ids, $ref_ids);
528 }
529 }
530
531 return $ids;
532 }

References ilOrgUnitOperationContext\$available_contexts, and $context.

◆ getIdsForUserAndOperation()

ILIAS\MyStaff\ilMyStaffAccess::getIdsForUserAndOperation ( int  $user_id,
string  $operation,
bool  $return_ref_id = false 
)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 499 of file class.ilMyStaffAccess.php.

499 : array
500 {
501 $user_assignments = ilOrgUnitUserAssignmentQueries::getInstance()->getAssignmentsOfUserId($user_id);
502 $ids = [];
503 foreach ($user_assignments as $user_assignment) {
504 $ref_ids = $this->getIdsForPositionAndOperation(
505 $user_assignment->getPositionId(),
506 $operation,
507 $return_ref_id
508 );
509 if (count($ref_ids) > 0) {
510 $ids = array_merge($ids, $ref_ids);
511 }
512 }
513 return $ids;
514 }
getIdsForPositionAndOperation(int $position_id, string $operation, bool $return_ref_id)

References $user_id, and ilOrgUnitUserAssignmentQueries\getInstance().

+ Here is the call graph for this function:

◆ getIlobjectsAndUsersForUserOperationAndContext()

ILIAS\MyStaff\ilMyStaffAccess::getIlobjectsAndUsersForUserOperationAndContext ( int  $user_id,
string  $org_unit_operation_string,
string  $context 
)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 593 of file class.ilMyStaffAccess.php.

597 : array {
598 global $DIC;
599
600
601 $operation = ilOrgUnitOperationQueries::findByOperationString($org_unit_operation_string, $context);
602 assert($operation instanceof ilOrgUnitOperation);
603
604 $tmp_table_name = 'tmp_ilobj_user_matrix_' . $operation->getOperationId();
605
607 $user_id,
608 $org_unit_operation_string,
609 $context,
610 $tmp_table_name
611 );
612
613 $q = 'SELECT * FROM ' . $tmp_table_name;
614
615 $user_set = $DIC->database()->query($q);
616
617 $arr_user_obj = array();
618
619 while ($rec = $DIC->database()->fetchAssoc($user_set)) {
620 $arr_user_obj[] = $rec;
621 }
622
623 return $arr_user_obj;
624 }
buildTempTableIlobjectsUserMatrixForUserOperationAndContext(int $user_id, string $org_unit_operation_string, string $context, string $temporary_table_name_prefix=self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_USER_MATRIX)

◆ getInstance()

static ILIAS\MyStaff\ilMyStaffAccess::getInstance ( )
static

Definition at line 52 of file class.ilMyStaffAccess.php.

52 : self
53 {
54 global $DIC;
55
56 if (self::$instance === null) {
57 self::$instance = new self();
58
59 if (!self::isMyStaffActive()) {
60 return self::$instance;
61 }
62
63 self::$instance->dropTempTable(self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_SPEC_PERMISSIONS . "_" . self::ACCESS_ENROLMENTS_ORG_UNIT_OPERATION . "_"
64 . self::COURSE_CONTEXT);
65 self::$instance->dropTempTable(self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_DEFAULT_PERMISSIONS . "_" . self::ACCESS_ENROLMENTS_ORG_UNIT_OPERATION
66 . "_" . self::COURSE_CONTEXT);
67 self::$instance->dropTempTable(self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_ORGU_DEFAULT_PERMISSIONS . "_" . self::ACCESS_ENROLMENTS_ORG_UNIT_OPERATION
68 . "_" . self::COURSE_CONTEXT);
69 self::$instance->dropTempTable(self::TMP_DEFAULT_TABLE_NAME_PREFIX_CRS_MEMBERS . "_user_id_" . $DIC->user()->getId());
70 self::$instance->dropTempTable(self::TMP_DEFAULT_TABLE_NAME_PREFIX_ORGU_MEMBERS . "_user_id_" . $DIC->user()->getId());
71 self::$instance->dropTempTable(self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_USER_MATRIX . "_" . self::ACCESS_ENROLMENTS_ORG_UNIT_OPERATION . "_"
72 . self::COURSE_CONTEXT);
73 }
74
75 return self::$instance;
76 }

References $DIC, and ILIAS\MyStaff\ilMyStaffAccess\$instance.

Referenced by ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ILIAS\User\Settings\StartingPoint\Repository\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCourses\getData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificates\getData(), ILIAS\EmployeeTalk\Provider\MyStaffListEntryProvider\getStaticSubItems(), and ILIAS\MyStaff\Provider\StaffMainBarProvider\getStaticSubItems().

+ Here is the caller graph for this function:

◆ getUsersForUser()

ILIAS\MyStaff\ilMyStaffAccess::getUsersForUser ( int  $user_id,
?int  $position_id = null 
)
Returns
int[]

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 422 of file class.ilMyStaffAccess.php.

422 : array
423 {
424 global $DIC;
425
426 if (isset($this->users_for_user[$user_id]) && $position_id === null) {
427 return $this->users_for_user[$user_id];
428 }
429
430 $tmp_orgu_members = $this->buildTempTableOrguMemberships(
431 self::TMP_DEFAULT_TABLE_NAME_PREFIX_ORGU_MEMBERS,
432 array()
433 );
434
435 $position_limitation = '';
436 if (!is_null($position_id)) {
437 $position_limitation = ' AND orgu_ua_current_user.position_id = ' . $position_id;
438 }
439
440 $q = "SELECT " . $tmp_orgu_members . ".user_id AS usr_id
441 FROM
442 " . $tmp_orgu_members . "
443 INNER JOIN il_orgu_ua AS orgu_ua_current_user on orgu_ua_current_user.user_id = " . $DIC->database()->quote(
444 $user_id,
445 'integer'
446 ) . "
447 INNER JOIN il_orgu_authority AS auth ON auth.position_id = orgu_ua_current_user.position_id " . $position_limitation . "
448 WHERE
449 (
450 /* Identische OrgUnit wie Current User; Nicht Rekursiv; Fixe Position */
451 (orgu_ua_current_user.orgu_id = " . $tmp_orgu_members . ".orgu_id AND auth.scope = 1
452 AND auth.over = " . $tmp_orgu_members . ".user_position_id AND auth.over <> -1
453 )
454 OR
455 /* Identische OrgUnit wie Current User; Nicht Rekursiv; Position egal */
456 (orgu_ua_current_user.orgu_id = " . $tmp_orgu_members . ".orgu_id AND auth.scope = 1 AND auth.over = -1)
457 OR
458 /* Kinder OrgUnit wie Current User */
459 (
460 (
461 " . $tmp_orgu_members . ".orgu_id = orgu_ua_current_user.orgu_id OR
462 " . $tmp_orgu_members . ".tree_path LIKE CONCAT(\"%.\",orgu_ua_current_user.orgu_id ,\".%\")
463 OR
464 " . $tmp_orgu_members . ".tree_path LIKE CONCAT(\"%.\",orgu_ua_current_user.orgu_id )
465 )
466 AND
467 (
468 (
469 (
470 /* Gleiche Position */
471 auth.over = " . $tmp_orgu_members . ".user_position_id AND auth.over <> -1
472 )
473 OR
474 (
475 /* Position Egal */
476 auth.over = -1
477 )
478 )
479 AND auth.scope = 2
480 )
481 )
482 )";
483
484 $user_set = $DIC->database()->query($q);
485
486 $arr_users = array();
487
488 while ($rec = $DIC->database()->fetchAssoc($user_set)) {
489 $arr_users[$rec['usr_id']] = $rec['usr_id'];
490 }
491
492 if ($position_id === null) {
493 $this->users_for_user[$user_id] = $arr_users;
494 }
495
496 return $arr_users;
497 }

References $DIC, $q, and $user_id.

Referenced by ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToUser().

+ Here is the caller graph for this function:

◆ getUsersForUserOperationAndContext()

ILIAS\MyStaff\ilMyStaffAccess::getUsersForUserOperationAndContext ( int  $user_id,
string  $org_unit_operation_string,
string  $context,
string  $tmp_table_name_prefix = self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_USER_MATRIX 
)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 377 of file class.ilMyStaffAccess.php.

382 : array {
383 global $DIC;
384
386 $user_id,
387 $org_unit_operation_string,
388 $context,
389 $tmp_table_name_prefix
390 );
391
392 $q = 'SELECT usr_id FROM ' . $tmp_table_name;
393
394 $user_set = $DIC->database()->query($q);
395
396 $arr_users = array();
397
398 while ($rec = $DIC->database()->fetchAssoc($user_set)) {
399 $arr_users[$rec['usr_id']] = $rec['usr_id'];
400 }
401
402 return $arr_users;
403 }

Referenced by ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToCourseLearningProgressForAtLeastOneUser().

+ Here is the caller graph for this function:

◆ getUsersForUserPerPosition()

ILIAS\MyStaff\ilMyStaffAccess::getUsersForUserPerPosition ( int  $user_id)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 405 of file class.ilMyStaffAccess.php.

405 : array
406 {
407 $users = [];
408 $user_assignments = ilOrgUnitUserAssignmentQueries::getInstance()->getAssignmentsOfUserId($user_id);
409 foreach ($user_assignments as $user_assignment) {
410 $users[$user_assignment->getPositionId()] = $this->getUsersForUser(
411 $user_id,
412 $user_assignment->getPositionId()
413 );
414 }
415
416 return $users;
417 }

References $user_id, and ilOrgUnitUserAssignmentQueries\getInstance().

+ Here is the call graph for this function:

◆ hasCurrentUserAccessToCertificates()

ILIAS\MyStaff\ilMyStaffAccess::hasCurrentUserAccessToCertificates ( )

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 120 of file class.ilMyStaffAccess.php.

120 : bool
121 {
122 global $DIC;
123
124 if (!self::isMyStaffActive()) {
125 return false;
126 }
127
128 $cert_set = new \ilSetting("certificate");
129 if (!$cert_set->get("active")) {
130 return false;
131 }
132
133 if ($this->countOrgusOfUserWithOperationAndContext(
134 $DIC->user()->getId(),
136 self::COURSE_CONTEXT
137 )
138 > 0
139 ) {
140 return true;
141 }
142
143 if ($this->countOrgusOfUserWithOperationAndContext(
144 $DIC->user()->getId(),
146 self::EXERCISE_CONTEXT
147 )
148 > 0
149 ) {
150 return true;
151 }
152
153 if ($this->countOrgusOfUserWithOperationAndContext(
154 $DIC->user()->getId(),
156 self::TEST_CONTEXT
157 )
158 > 0
159 ) {
160 return true;
161 }
162
163 return false;
164 }

References $DIC, and ilOrgUnitOperation\OP_VIEW_CERTIFICATES.

Referenced by ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToMyStaff().

+ Here is the caller graph for this function:

◆ hasCurrentUserAccessToCompetences()

ILIAS\MyStaff\ilMyStaffAccess::hasCurrentUserAccessToCompetences ( )

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 207 of file class.ilMyStaffAccess.php.

207 : bool
208 {
209 global $DIC;
210
211 if (!self::isMyStaffActive()) {
212 return false;
213 }
214
215 $skmg_set = new \ilSkillManagementSettings();
216 if (!$skmg_set->isActivated()) {
217 return false;
218 }
219
220 if ($this->countOrgusOfUserWithOperationAndContext(
221 $DIC->user()->getId(),
223 self::COURSE_CONTEXT
224 )
225 > 0
226 ) {
227 return true;
228 }
229
230 if ($this->countOrgusOfUserWithOperationAndContext(
231 $DIC->user()->getId(),
233 self::GROUP_CONTEXT
234 )
235 > 0
236 ) {
237 return true;
238 }
239
240 if ($this->countOrgusOfUserWithOperationAndContext(
241 $DIC->user()->getId(),
243 self::SURVEY_CONTEXT
244 )
245 > 0
246 ) {
247 return true;
248 }
249
250 if ($this->countOrgusOfUserWithOperationAndContext(
251 $DIC->user()->getId(),
253 self::TEST_CONTEXT
254 )
255 > 0
256 ) {
257 return true;
258 }
259
260 return false;
261 }

References $DIC, and ilOrgUnitOperation\OP_VIEW_COMPETENCES.

Referenced by ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToMyStaff().

+ Here is the caller graph for this function:

◆ hasCurrentUserAccessToCourseLearningProgressForAtLeastOneUser()

ILIAS\MyStaff\ilMyStaffAccess::hasCurrentUserAccessToCourseLearningProgressForAtLeastOneUser ( )

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 316 of file class.ilMyStaffAccess.php.

316 : bool
317 {
318 global $DIC;
319
320 $arr_usr_id = $this->getUsersForUserOperationAndContext(
321 $DIC->user()->getId(),
323 self::COURSE_CONTEXT
324 );
325 if (count($arr_usr_id) > 0) {
326 return true;
327 }
328
329 return false;
330 }
getUsersForUserOperationAndContext(int $user_id, string $org_unit_operation_string, string $context, string $tmp_table_name_prefix=self::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_USER_MATRIX)

References $DIC, ILIAS\MyStaff\ilMyStaffAccess\getUsersForUserOperationAndContext(), and ilOrgUnitOperation\OP_READ_LEARNING_PROGRESS.

+ Here is the call graph for this function:

◆ hasCurrentUserAccessToCourseMemberships()

ILIAS\MyStaff\ilMyStaffAccess::hasCurrentUserAccessToCourseMemberships ( )

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 263 of file class.ilMyStaffAccess.php.

263 : bool
264 {
265 global $DIC;
266
267 if (!self::isMyStaffActive()) {
268 return false;
269 }
270
271 if ($this->countOrgusOfUserWithOperationAndContext(
272 $DIC->user()->getId(),
273 self::ACCESS_ENROLMENTS_ORG_UNIT_OPERATION,
274 self::COURSE_CONTEXT
275 )
276 > 0
277 ) {
278 return true;
279 }
280
281 return false;
282 }

References $DIC.

Referenced by ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToMyStaff().

+ Here is the caller graph for this function:

◆ hasCurrentUserAccessToLearningProgressInObject()

ILIAS\MyStaff\ilMyStaffAccess::hasCurrentUserAccessToLearningProgressInObject ( int  $ref_id = 0)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 309 of file class.ilMyStaffAccess.php.

309 : bool
310 {
311 global $DIC;
312
313 return $DIC->access()->checkPositionAccess(ilOrgUnitOperation::OP_READ_LEARNING_PROGRESS, $ref_id);
314 }
$ref_id
Definition: ltiauth.php:66

References $DIC, $ref_id, and ilOrgUnitOperation\OP_READ_LEARNING_PROGRESS.

◆ hasCurrentUserAccessToMyStaff()

ILIAS\MyStaff\ilMyStaffAccess::hasCurrentUserAccessToMyStaff ( )

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 89 of file class.ilMyStaffAccess.php.

89 : bool
90 {
91 global $DIC;
92
93 if (!self::isMyStaffActive()) {
94 return false;
95 }
96
98 return true;
99 }
100
102 return true;
103 }
104
106 return true;
107 }
108
109 if ($this->hasCurrentUserAccessToTalks()) {
110 return true;
111 }
112
113 if ($this->hasCurrentUserAccessToStaffList()) {
114 return true;
115 }
116
117 return false;
118 }

References $DIC, ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToCertificates(), ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToCompetences(), ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToCourseMemberships(), ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToStaffList(), and ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToTalks().

+ Here is the call graph for this function:

◆ hasCurrentUserAccessToStaffList()

ILIAS\MyStaff\ilMyStaffAccess::hasCurrentUserAccessToStaffList ( )

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 284 of file class.ilMyStaffAccess.php.

284 : bool
285 {
286 return $this->hasCurrentUserAccessToUser(0);
287 }

References ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToUser().

Referenced by ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToMyStaff().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasCurrentUserAccessToTalks()

ILIAS\MyStaff\ilMyStaffAccess::hasCurrentUserAccessToTalks ( )

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 166 of file class.ilMyStaffAccess.php.

166 : bool
167 {
168 global $DIC;
169
170 if (!self::isMyStaffActive()) {
171 return false;
172 }
173
174 if ($this->countOrgusOfUserWithOperationAndContext(
175 $DIC->user()->getId(),
177 self::EMPLOYEE_TALK_CONTEXT
178 )
179 > 0
180 ) {
181 return true;
182 }
183
184 if ($this->countOrgusOfUserWithOperationAndContext(
185 $DIC->user()->getId(),
187 self::EMPLOYEE_TALK_CONTEXT
188 )
189 > 0
190 ) {
191 return true;
192 }
193
194 if ($this->countOrgusOfUserWithOperationAndContext(
195 $DIC->user()->getId(),
197 self::EMPLOYEE_TALK_CONTEXT
198 )
199 > 0
200 ) {
201 return true;
202 }
203
204 return false;
205 }

References $DIC, ilOrgUnitOperation\OP_CREATE_EMPLOYEE_TALK, ilOrgUnitOperation\OP_EDIT_EMPLOYEE_TALK, and ilOrgUnitOperation\OP_READ_EMPLOYEE_TALK.

Referenced by ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToMyStaff().

+ Here is the caller graph for this function:

◆ hasCurrentUserAccessToUser()

ILIAS\MyStaff\ilMyStaffAccess::hasCurrentUserAccessToUser ( int  $usr_id)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 289 of file class.ilMyStaffAccess.php.

289 : bool
290 {
291 global $DIC;
292
293 if (!self::isMyStaffActive()) {
294 return false;
295 }
296
297 $arr_users = $this->getUsersForUser($DIC->user()->getId());
298 if (count($arr_users) > 0 && $usr_id === 0) {
299 return true;
300 }
301
302 if (count($arr_users) > 0 && in_array($usr_id, $arr_users)) {
303 return true;
304 }
305
306 return false;
307 }

References $DIC, and ILIAS\MyStaff\ilMyStaffAccess\getUsersForUser().

Referenced by ILIAS\MyStaff\ilMyStaffAccess\hasCurrentUserAccessToStaffList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasPositionDefaultPermissionForOperationInContext()

ILIAS\MyStaff\ilMyStaffAccess::hasPositionDefaultPermissionForOperationInContext ( int  $position_id,
int  $operation_id,
int  $context_id 
)

Reimplemented in ILIAS\MyStaff\ilMyStaffCachedAccessDecorator.

Definition at line 578 of file class.ilMyStaffAccess.php.

582 : bool {
583 global $DIC;
584 $res = $DIC->database()->query("SELECT * FROM il_orgu_permissions " .
585 " WHERE context_id = " . $context_id . " " .
586 "AND operations REGEXP '[\\\[,]\"?" . $operation_id . "\"?[\],]' " .
587 "AND position_id = " . $position_id . " " .
588 "AND parent_id = -1");
589
590 return (bool) $DIC->database()->numRows($res) > 0;
591 }
$res
Definition: ltiservices.php:69

◆ isMyStaffActive()

static ILIAS\MyStaff\ilMyStaffAccess::isMyStaffActive ( )
static

Definition at line 82 of file class.ilMyStaffAccess.php.

82 : bool
83 {
84 global $DIC;
85
86 return (bool) $DIC->settings()->get('enable_my_staff');
87 }

References $DIC.

Referenced by ILIAS\MyStaff\Provider\StaffMainBarProvider\getStaticSubItems().

+ Here is the caller graph for this function:

Field Documentation

◆ $instance

self ILIAS\MyStaff\ilMyStaffAccess::$instance = null
staticprotected

Definition at line 48 of file class.ilMyStaffAccess.php.

Referenced by ILIAS\MyStaff\ilMyStaffAccess\getInstance().

◆ $users_for_user

array ILIAS\MyStaff\ilMyStaffAccess::$users_for_user = []
protected

Definition at line 50 of file class.ilMyStaffAccess.php.

◆ ACCESS_ENROLMENTS_ORG_UNIT_OPERATION

const string ILIAS\MyStaff\ilMyStaffAccess::ACCESS_ENROLMENTS_ORG_UNIT_OPERATION = ilOrgUnitOperation::OP_ACCESS_ENROLMENTS

◆ COURSE_CONTEXT

const string ILIAS\MyStaff\ilMyStaffAccess::COURSE_CONTEXT = ilOrgUnitOperationContext::CONTEXT_CRS

◆ EMPLOYEE_TALK_CONTEXT

const string ILIAS\MyStaff\ilMyStaffAccess::EMPLOYEE_TALK_CONTEXT = ilOrgUnitOperationContext::CONTEXT_ETAL

Definition at line 46 of file class.ilMyStaffAccess.php.

◆ EXERCISE_CONTEXT

const string ILIAS\MyStaff\ilMyStaffAccess::EXERCISE_CONTEXT = ilOrgUnitOperationContext::CONTEXT_EXC

Definition at line 42 of file class.ilMyStaffAccess.php.

◆ GROUP_CONTEXT

const string ILIAS\MyStaff\ilMyStaffAccess::GROUP_CONTEXT = ilOrgUnitOperationContext::CONTEXT_GRP

Definition at line 43 of file class.ilMyStaffAccess.php.

◆ SURVEY_CONTEXT

const string ILIAS\MyStaff\ilMyStaffAccess::SURVEY_CONTEXT = ilOrgUnitOperationContext::CONTEXT_SVY

Definition at line 44 of file class.ilMyStaffAccess.php.

◆ TEST_CONTEXT

const string ILIAS\MyStaff\ilMyStaffAccess::TEST_CONTEXT = ilOrgUnitOperationContext::CONTEXT_TST

Definition at line 45 of file class.ilMyStaffAccess.php.

◆ TMP_DEFAULT_TABLE_NAME_PREFIX_CRS_MEMBERS

const string ILIAS\MyStaff\ilMyStaffAccess::TMP_DEFAULT_TABLE_NAME_PREFIX_CRS_MEMBERS = 'tmp_crs_members'

Definition at line 37 of file class.ilMyStaffAccess.php.

◆ TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_DEFAULT_PERMISSIONS

const string ILIAS\MyStaff\ilMyStaffAccess::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_DEFAULT_PERMISSIONS = 'tmp_obj_def_perm'

Definition at line 35 of file class.ilMyStaffAccess.php.

◆ TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_SPEC_PERMISSIONS

const string ILIAS\MyStaff\ilMyStaffAccess::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_SPEC_PERMISSIONS = 'tmp_obj_spec_perm'

Definition at line 34 of file class.ilMyStaffAccess.php.

◆ TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_USER_MATRIX

const string ILIAS\MyStaff\ilMyStaffAccess::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_OBJ_USER_MATRIX = 'tmp_obj_user_matr'

Definition at line 39 of file class.ilMyStaffAccess.php.

◆ TMP_DEFAULT_TABLE_NAME_PREFIX_IL_ORGU_DEFAULT_PERMISSIONS

const string ILIAS\MyStaff\ilMyStaffAccess::TMP_DEFAULT_TABLE_NAME_PREFIX_IL_ORGU_DEFAULT_PERMISSIONS = 'tmp_orgu_def_perm'

Definition at line 36 of file class.ilMyStaffAccess.php.

◆ TMP_DEFAULT_TABLE_NAME_PREFIX_ORGU_MEMBERS

const string ILIAS\MyStaff\ilMyStaffAccess::TMP_DEFAULT_TABLE_NAME_PREFIX_ORGU_MEMBERS = 'tmp_orgu_members'

Definition at line 38 of file class.ilMyStaffAccess.php.


The documentation for this class was generated from the following file: