ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ),
50 "file",
51 Permissions::READ->value,
52 Permissions::VIEW_CONTENT->value
53 ),
54
55 ]
56 );
57 }
58
59}
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