ILIAS  release_8 Revision v8.24
class.ilObjCloudAccess.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=0);
21{
29 public function _checkAccess(string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id = null): bool
30 {
31 global $DIC;
32
33 if (!$DIC->access()->checkAccessOfUser($user_id, "write", $cmd, $ref_id)) {
34 return false;
35 }
36 return true;
37 }
38}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
_checkAccess(string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null)
Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAcc...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28
$ref_id
Definition: ltiauth.php:67