19 declare(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)
 
checkAccessAndThrowException(string $permission)
 
static http()
Fetches the global http state from ILIAS. 
 
Interface RequestWrapper. 
 
hasUserPermissionTo(string $permission)
 
Transformation $int_trafo