ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Deal with ilias rbac-system More...
Public Member Functions | |||||||
__construct (ilObjIndividualAssessment $iass, ilAccessHandler $handler, ilRbacAdmin $admin, ilRbacReview $review, ilObjUser $usr) | |||||||
checkAccessToObj ($operation) | |||||||
Can an user perform an operation on some Individual assessment?
| |||||||
initDefaultRolesForObject (ilObjIndividualAssessment $iass) | |||||||
Create default roles at an object.
| |||||||
assignUserToMemberRole (ilObjUser $usr, ilObjIndividualAssessment $iass) | |||||||
Assign a user to the member role at an Individual assessment.
| |||||||
deassignUserFromMemberRole (ilObjUser $usr, ilObjIndividualAssessment $iass) | |||||||
Deasign a user from the member role at an Individual assessment.
| |||||||
mayViewObject ($use_cache=true) | |||||||
User view iass object. More... | |||||||
mayEditObject ($use_cache=true) | |||||||
User edit iass. More... | |||||||
mayEditPermissions ($use_cache=true) | |||||||
User edit permissions. More... | |||||||
mayEditMembers ($use_cache=true) | |||||||
User may edit members. More... | |||||||
mayViewUser ($use_cache=true) | |||||||
User may view gradings. More... | |||||||
mayGradeUser ($use_cache=true) | |||||||
User may grade. More... | |||||||
mayGradeUserById ($a_user_id) | |||||||
User may grade. More... | |||||||
filterViewableOrGradeableUsers (array $a_user_ids) | |||||||
Filter out users that may be graded or viewed. More... | |||||||
mayAmendGradeUser ($use_cache=true) | |||||||
User may Amend grading. More... | |||||||
isSystemAdmin () | |||||||
Check whether user is system admin. More... | |||||||
Data Fields | |
const | DEFAULT_ROLE = 'il_iass_member' |
Protected Member Functions | |
getRoleTitleByObj (ilObjIndividualAssessment $iass) | |
getMemberRoleIdForObj (ilObjIndividualAssessment $iass) | |
cacheCheckAccessToObj ($operation) | |
Get permission state from cache. More... | |
Protected Attributes | |
$iass | |
$handler | |
$admin | |
$review | |
ilRbacReview More... | |
$user | |
$mass_global_permissions_cache | |
Deal with ilias rbac-system
Definition at line 8 of file class.ilIndividualAssessmentAccessHandler.php.
ilIndividualAssessmentAccessHandler::__construct | ( | ilObjIndividualAssessment | $iass, |
ilAccessHandler | $handler, | ||
ilRbacAdmin | $admin, | ||
ilRbacReview | $review, | ||
ilObjUser | $usr | ||
) |
Definition at line 42 of file class.ilIndividualAssessmentAccessHandler.php.
References $admin, $handler, $iass, and $review.
ilIndividualAssessmentAccessHandler::assignUserToMemberRole | ( | ilObjUser | $usr, |
ilObjIndividualAssessment | $iass | ||
) |
Assign a user to the member role at an Individual assessment.
ilObjIndividualAssessment | $iass | |
ilObjUser | $usr |
Implements IndividualAssessmentAccessHandler.
Definition at line 83 of file class.ilIndividualAssessmentAccessHandler.php.
References ilObject\getId(), and getMemberRoleIdForObj().
|
protected |
Get permission state from cache.
string | $operation |
Definition at line 268 of file class.ilIndividualAssessmentAccessHandler.php.
References checkAccessToObj().
Referenced by mayAmendGradeUser(), mayEditMembers(), mayEditObject(), mayEditPermissions(), mayGradeUser(), mayViewObject(), and mayViewUser().
ilIndividualAssessmentAccessHandler::checkAccessToObj | ( | $operation | ) |
Can an user perform an operation on some Individual assessment?
string | $operation |
Implements IndividualAssessmentAccessHandler.
Definition at line 55 of file class.ilIndividualAssessmentAccessHandler.php.
Referenced by cacheCheckAccessToObj(), mayAmendGradeUser(), mayEditMembers(), mayEditObject(), mayEditPermissions(), mayGradeUser(), mayViewObject(), and mayViewUser().
ilIndividualAssessmentAccessHandler::deassignUserFromMemberRole | ( | ilObjUser | $usr, |
ilObjIndividualAssessment | $iass | ||
) |
Deasign a user from the member role at an Individual assessment.
ilObjIndividualAssessment | $iass | |
ilObjUser | $usr |
Implements IndividualAssessmentAccessHandler.
Definition at line 91 of file class.ilIndividualAssessmentAccessHandler.php.
References ilObject\getId(), and getMemberRoleIdForObj().
ilIndividualAssessmentAccessHandler::filterViewableOrGradeableUsers | ( | array | $a_user_ids | ) |
Filter out users that may be graded or viewed.
int[] | $a_user_ids |
Definition at line 221 of file class.ilIndividualAssessmentAccessHandler.php.
References ilOrgUnitGlobalSettings\getInstance().
|
protected |
Definition at line 101 of file class.ilIndividualAssessmentAccessHandler.php.
References ilObject\getRefId().
Referenced by assignUserToMemberRole(), and deassignUserFromMemberRole().
|
protected |
Definition at line 96 of file class.ilIndividualAssessmentAccessHandler.php.
References ilObject\getRefId().
Referenced by initDefaultRolesForObject().
ilIndividualAssessmentAccessHandler::initDefaultRolesForObject | ( | ilObjIndividualAssessment | $iass | ) |
Create default roles at an object.
ilObjIndividualAssessment | $iass |
Implements IndividualAssessmentAccessHandler.
Definition at line 70 of file class.ilIndividualAssessmentAccessHandler.php.
References ilObjRole\createDefaultRole(), ilObject\getId(), ilObject\getRefId(), and getRoleTitleByObj().
ilIndividualAssessmentAccessHandler::isSystemAdmin | ( | ) |
Check whether user is system admin.
Implements IndividualAssessmentAccessHandler.
Definition at line 286 of file class.ilIndividualAssessmentAccessHandler.php.
Referenced by mayEditMembers(), mayEditObject(), mayEditPermissions(), mayGradeUser(), mayGradeUserById(), mayViewObject(), and mayViewUser().
ilIndividualAssessmentAccessHandler::mayAmendGradeUser | ( | $use_cache = true | ) |
User may Amend grading.
bool | $use_cache |
Definition at line 252 of file class.ilIndividualAssessmentAccessHandler.php.
References cacheCheckAccessToObj(), and checkAccessToObj().
ilIndividualAssessmentAccessHandler::mayEditMembers | ( | $use_cache = true | ) |
User may edit members.
bool | $use_cache |
Definition at line 161 of file class.ilIndividualAssessmentAccessHandler.php.
References cacheCheckAccessToObj(), checkAccessToObj(), and isSystemAdmin().
ilIndividualAssessmentAccessHandler::mayEditObject | ( | $use_cache = true | ) |
User edit iass.
bool | $use_cache |
Definition at line 129 of file class.ilIndividualAssessmentAccessHandler.php.
References cacheCheckAccessToObj(), checkAccessToObj(), and isSystemAdmin().
ilIndividualAssessmentAccessHandler::mayEditPermissions | ( | $use_cache = true | ) |
User edit permissions.
bool | $use_cache |
Definition at line 145 of file class.ilIndividualAssessmentAccessHandler.php.
References cacheCheckAccessToObj(), checkAccessToObj(), and isSystemAdmin().
ilIndividualAssessmentAccessHandler::mayGradeUser | ( | $use_cache = true | ) |
User may grade.
bool | $use_cache |
Definition at line 193 of file class.ilIndividualAssessmentAccessHandler.php.
References cacheCheckAccessToObj(), checkAccessToObj(), and isSystemAdmin().
Referenced by mayGradeUserById().
ilIndividualAssessmentAccessHandler::mayGradeUserById | ( | $a_user_id | ) |
User may grade.
int | $a_user_id |
Definition at line 209 of file class.ilIndividualAssessmentAccessHandler.php.
References isSystemAdmin(), and mayGradeUser().
ilIndividualAssessmentAccessHandler::mayViewObject | ( | $use_cache = true | ) |
User view iass object.
bool | $use_cache |
Definition at line 113 of file class.ilIndividualAssessmentAccessHandler.php.
References cacheCheckAccessToObj(), checkAccessToObj(), and isSystemAdmin().
ilIndividualAssessmentAccessHandler::mayViewUser | ( | $use_cache = true | ) |
User may view gradings.
bool | $use_cache |
Definition at line 177 of file class.ilIndividualAssessmentAccessHandler.php.
References cacheCheckAccessToObj(), checkAccessToObj(), and isSystemAdmin().
|
protected |
Definition at line 23 of file class.ilIndividualAssessmentAccessHandler.php.
Referenced by __construct().
|
protected |
Definition at line 18 of file class.ilIndividualAssessmentAccessHandler.php.
Referenced by __construct().
|
protected |
Definition at line 13 of file class.ilIndividualAssessmentAccessHandler.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilIndividualAssessmentAccessHandler.php.
|
protected |
Definition at line 28 of file class.ilIndividualAssessmentAccessHandler.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilIndividualAssessmentAccessHandler.php.
const ilIndividualAssessmentAccessHandler::DEFAULT_ROLE = 'il_iass_member' |
Definition at line 40 of file class.ilIndividualAssessmentAccessHandler.php.