ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
interface.IndividualAssessmentAccessHandler.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
25 {
29  public function initDefaultRolesForObject(ilObjIndividualAssessment $iass): void;
30 
34  public function assignUserToMemberRole(ilObjUser $usr, ilObjIndividualAssessment $iass): bool;
35 
39  public function deassignUserFromMemberRole(ilObjUser $usr, ilObjIndividualAssessment $iass): bool;
40 
41 
42  public function mayReadObject(): bool;
43  public function mayEditObject(): bool;
44  public function mayEditPermissions(): bool;
45  public function mayEditMembers(): bool;
46  public function mayViewAnyUser(): bool;
47  public function mayViewAllUsers(): bool;
48  public function mayGradeAnyUser(): bool;
49  public function mayGradeUser(int $user_id): bool;
50  public function mayViewUser(int $user_id): bool;
51  public function mayAmendAllUsers(): bool;
52  public function isSystemAdmin(): bool;
53  public function mayEditLearningProgressSettings(): bool;
54 }
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.
For the purpose of streamlining the grading and learning-process status definition outside of tests...
Mechanic regarding the access control and roles of an objet goes here.
initDefaultRolesForObject(ilObjIndividualAssessment $iass)
Create default roles at an object.