19declare(strict_types=1);
36 $this->rbacsystem =
$DIC->rbac()->system();
37 $this->
http = $DIC->http()->wrapper()->query();
38 $this->int_trafo =
$DIC->refinery()->kindlyTo()->int();
50 if (!$this->
http->has(
'ref_id')) {
53 return $this->rbacsystem->checkAccess(
55 $this->
http->retrieve(
'ref_id', $this->int_trafo)
Base class for ILIAS Exception handling.
Transformation $int_trafo
checkAccessAndThrowException(string $permission)
hasUserPermissionTo(string $permission)
class ilRbacSystem system function like checkAccess, addActiveRole ... Supporting system functions ar...
Interface RequestWrapper.
static http()
Fetches the global http state from ILIAS.