ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
class.ilFileObjectRBACDatabase.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
23
28{
29 #[\Override]
30 public function getPreconditions(Environment $environment): array
31 {
32 return array_merge(
33 parent::getPreconditions($environment),
34 [
36 Permissions::EDIT_CONTENT->value,
37 "Edit File",
38 "object",
39 5990,
40 ["file"]
41 ),
43 Permissions::VIEW_CONTENT->value,
44 "View Content in external Editor",
45 "object",
46 2001,
47 ["file"]
48 )
49 ]
50 );
51 }
52
53}
This class attempt to achieve a set of database update steps.
getPreconditions(Environment $environment)
@inheritdocs
An environment holds resources to be used in the setup process.
Definition: Environment.php:28