ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\Chatroom\AccessBridge Class Reference
+ Collaboration diagram for ILIAS\Chatroom\AccessBridge:

Public Member Functions

 __construct (private readonly ilRbacSystem $rbac)
 
 checkAccess (string $a_permission, string $a_cmd, int $a_ref_id, string $a_type="", ?int $a_obj_id=null, ?int $a_tree_id=null)
 

Detailed Description

Definition at line 25 of file AccessBridge.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Chatroom\AccessBridge::__construct ( private readonly ilRbacSystem  $rbac)

Definition at line 27 of file AccessBridge.php.

28  {
29  }

Member Function Documentation

◆ checkAccess()

ILIAS\Chatroom\AccessBridge::checkAccess ( string  $a_permission,
string  $a_cmd,
int  $a_ref_id,
string  $a_type = "",
?int  $a_obj_id = null,
?int  $a_tree_id = null 
)

Definition at line 31 of file AccessBridge.php.

References ILIAS\Repository\rbac().

38  : bool {
39  return $this->rbac->checkAccess($a_permission, $a_ref_id);
40  }
+ Here is the call graph for this function:

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