ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Deal with ilias rbac-system More...
Public Member Functions | ||||||||||
__construct (ilAccessHandler $handler, ilRbacAdmin $admin, ilRbacReview $review, ilObjUser $usr) | ||||||||||
checkAccessToObj (ilObjIndividualAssessment $iass, $operation) | ||||||||||
Can the current ilias user perform an operation on some Individual assessment? More... | ||||||||||
checkAccessOfUserToObj (ilObjUser $usr, ilObjIndividualAssessment $iass, $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.
| ||||||||||
Data Fields | |
const | DEFAULT_ROLE = 'il_iass_member' |
Protected Member Functions | |
getRoleTitleByObj (ilObjIndividualAssessment $iass) | |
getMemberRoleIdForObj (ilObjIndividualAssessment $iass) | |
Protected Attributes | |
$handler | |
$admin | |
$review | |
Deal with ilias rbac-system
Definition at line 8 of file class.ilIndividualAssessmentAccessHandler.php.
ilIndividualAssessmentAccessHandler::__construct | ( | ilAccessHandler | $handler, |
ilRbacAdmin | $admin, | ||
ilRbacReview | $review, | ||
ilObjUser | $usr | ||
) |
Definition at line 16 of file class.ilIndividualAssessmentAccessHandler.php.
References $admin, $handler, 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 57 of file class.ilIndividualAssessmentAccessHandler.php.
References ilObject\getId(), and getMemberRoleIdForObj().
ilIndividualAssessmentAccessHandler::checkAccessOfUserToObj | ( | ilObjUser | $usr, |
ilObjIndividualAssessment | $iass, | ||
$operation | |||
) |
Can an user perform an operation on some Individual assessment?
ilObjUser | $usr | |
ilObjIndividualAssessment | $iass | |
string | $operation |
Implements IndividualAssessmentAccessHandler.
Definition at line 37 of file class.ilIndividualAssessmentAccessHandler.php.
References ilObject\getId(), and ilObject\getRefId().
Referenced by checkAccessToObj().
ilIndividualAssessmentAccessHandler::checkAccessToObj | ( | ilObjIndividualAssessment | $iass, |
$operation | |||
) |
Can the current ilias user perform an operation on some Individual assessment?
ilObjIndividualAssessment | $iass | |
string | $operation |
Definition at line 30 of file class.ilIndividualAssessmentAccessHandler.php.
References checkAccessOfUserToObj().
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 64 of file class.ilIndividualAssessmentAccessHandler.php.
References ilObject\getId(), and getMemberRoleIdForObj().
|
protected |
Definition at line 72 of file class.ilIndividualAssessmentAccessHandler.php.
References ilObject\getRefId().
Referenced by assignUserToMemberRole(), and deassignUserFromMemberRole().
|
protected |
Definition at line 68 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 45 of file class.ilIndividualAssessmentAccessHandler.php.
References ilObjRole\createDefaultRole(), ilObject\getId(), ilObject\getRefId(), and getRoleTitleByObj().
|
protected |
Definition at line 11 of file class.ilIndividualAssessmentAccessHandler.php.
Referenced by __construct().
|
protected |
Definition at line 10 of file class.ilIndividualAssessmentAccessHandler.php.
Referenced by __construct().
|
protected |
Definition at line 12 of file class.ilIndividualAssessmentAccessHandler.php.
Referenced by __construct().
const ilIndividualAssessmentAccessHandler::DEFAULT_ROLE = 'il_iass_member' |
Definition at line 14 of file class.ilIndividualAssessmentAccessHandler.php.