3declare(strict_types=1);
37 $this->rbacsystem =
$DIC->rbac()->system();
38 $this->
http = $DIC->http()->wrapper()->query();
39 $this->int_trafo =
$DIC->refinery()->kindlyTo()->int();
51 if (!$this->
http->has(
'ref_id')) {
54 return $this->rbacsystem->checkAccess(
56 $this->
http->retrieve(
'ref_id', $this->int_trafo)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Transformation $int_trafo
checkAccessAndThrowException(string $permission)
hasUserPermissionTo(string $permission)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
class ilRbacSystem system function like checkAccess, addActiveRole ... Supporting system functions ar...
Interface RequestWrapper.
static http()
Fetches the global http state from ILIAS.