This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
More...
|
| | Check |
| | This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
|
| |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
- Author
- Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s
◆ Capabilities
Definition at line 25 of file Capabilities.php.
27 case EDIT_EXTERNAL =
'editExternal';
28 case INFO_PAGE =
'showSummary';
29 case FORCED_INFO_PAGE =
'showSummaryForced';
30 case MANAGE_VERSIONS =
'versions';
31 case EDIT_SETTINGS =
'edit';
32 case UNZIP =
'unzipCurrentRevision';
33 case DOWNLOAD =
'sendfile';
34 case VIEW_EXTERNAL =
'viewExternal';
39 foreach (self::cases() as $case) {
40 if ($name === $case->name) {
47 public static function fromCommand(
string $cmd):
Capabilities 49 foreach (self::cases() as $case) {
50 if ($cmd === $case->value) {
◆ Permissions
| enum ILIAS\File\Capabilities\Capability::Permissions[] |
Definition at line 25 of file Permissions.php.
28 case VISIBLE =
'visible';
30 case VIEW_CONTENT =
'view_content';
31 case READ_LP =
'read_learning_progress';
32 case EDIT_LP =
'edit_learning_progress';
33 case EDIT_PERMISSIONS =
'edit_permission';
37 case EDIT_CONTENT =
'edit_file';
39 public static function ANY(): array
47 self::EDIT_PERMISSIONS,