3 declare(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)
checkAccessAndThrowException(string $permission)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static http()
Fetches the global http state from ILIAS.
Interface RequestWrapper.
hasUserPermissionTo(string $permission)
Transformation $int_trafo