ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.ilFileObjectRBACDatabase.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
24 use ILIAS\Refinery;
25 use ILIAS\Setup;
30 
35 {
36  public function getPreconditions(Environment $environment): array
37  {
38  return array_merge(
39  parent::getPreconditions($environment),
40  [
42  Permissions::EDIT_CONTENT->value,
43  "Edit File",
44  "object",
45  5990,
46  ["file"]
47  ),
49  Permissions::VIEW_CONTENT->value,
50  "View Content in external Editor",
51  "object",
52  2001,
53  ["file"]
54  ),
56  "file",
57  Permissions::READ->value,
58  Permissions::VIEW_CONTENT->value
59  ),
60 
61  ]
62  );
63  }
64 
65 }
getPreconditions(Environment $environment)
Objectives might depend on other objectives.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An environment holds resources to be used in the setup process.
Definition: Environment.php:27