ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\AccessControl\PublicInterface\DefaultRBAC Class Reference

Default {. More...

+ Inheritance diagram for ILIAS\AccessControl\PublicInterface\DefaultRBAC:
+ Collaboration diagram for ILIAS\AccessControl\PublicInterface\DefaultRBAC:

Public Member Functions

 __construct (private readonly \ilRbacReview $review, private readonly \ilRbacSystem $system, private readonly \ilRbacAdmin $admin,)
 
 review ()
 
 system ()
 
 admin ()
 
 review ()
 
 system ()
 
 admin ()
 

Detailed Description

Default {.

See also
RBAC} implementation.

Holds the three legacy RBAC services and exposes them via getters. This is what AllModernComponents plugs into the legacy $DIC offsets.

Definition at line 29 of file DefaultRBAC.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\AccessControl\PublicInterface\DefaultRBAC::__construct ( private readonly \ilRbacReview  $review,
private readonly \ilRbacSystem  $system,
private readonly \ilRbacAdmin  $admin 
)

Definition at line 31 of file DefaultRBAC.php.

35 {
36 }

Member Function Documentation

◆ admin()

ILIAS\AccessControl\PublicInterface\DefaultRBAC::admin ( )

Implements ILIAS\AccessControl\PublicInterface\RBAC.

Definition at line 48 of file DefaultRBAC.php.

49 {
50 return $this->admin;
51 }
Class ilRbacAdmin Core functions for role based access control.

◆ review()

ILIAS\AccessControl\PublicInterface\DefaultRBAC::review ( )

Implements ILIAS\AccessControl\PublicInterface\RBAC.

Definition at line 38 of file DefaultRBAC.php.

39 {
40 return $this->review;
41 }
class ilRbacReview Contains Review functions of core Rbac.

◆ system()

ILIAS\AccessControl\PublicInterface\DefaultRBAC::system ( )

Implements ILIAS\AccessControl\PublicInterface\RBAC.

Definition at line 43 of file DefaultRBAC.php.

44 {
45 return $this->system;
46 }
class ilRbacSystem system function like checkAccess, addActiveRole ... Supporting system functions ar...

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