ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
AccessBridge.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ilRbacSystem;
24
26{
27 public function __construct(private readonly ilRbacSystem $rbac)
28 {
29 }
30
31 public function checkAccess(
32 string $a_permission,
33 string $a_cmd,
34 int $a_ref_id,
35 string $a_type = "",
36 ?int $a_obj_id = null,
37 ?int $a_tree_id = null
38 ): bool {
39 return $this->rbac->checkAccess($a_permission, $a_ref_id);
40 }
41}
__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)
class ilRbacSystem system function like checkAccess, addActiveRole ... Supporting system functions ar...
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...