Elgg  Version master
actions.php
Go to the documentation of this file.
1 <?php
2 
3 return [
4  'admin/delete_admin_notices' => ['access' => 'admin'],
5  'admin/menu/save' => ['access' => 'admin'],
6  'admin/plugins/activate' => ['access' => 'admin'],
7  'admin/plugins/activate_all' => ['access' => 'admin'],
8  'admin/plugins/deactivate' => ['access' => 'admin'],
9  'admin/plugins/deactivate_all' => ['access' => 'admin'],
10  'admin/plugins/set_priority' => ['access' => 'admin'],
11  'admin/security/security_txt' => ['access' => 'admin'],
12  'admin/security/settings' => ['access' => 'admin'],
13  'admin/security/regenerate_site_secret' => ['access' => 'admin'],
14  'admin/site/cache/invalidate' => ['access' => 'admin'],
15  'admin/site/flush_cache' => ['access' => 'admin'],
16  'admin/site/icons' => ['access' => 'admin'],
17  'admin/site/set_maintenance_mode' => ['access' => 'admin'],
18  'admin/site/set_robots' => ['access' => 'admin'],
19  'admin/site/theme' => ['access' => 'admin'],
20  'admin/site/unlock_upgrade' => ['access' => 'admin'],
21  'admin/site/settings' => ['access' => 'admin'],
22  'admin/upgrade' => ['access' => 'admin'],
23  'admin/upgrade/reset' => ['access' => 'admin'],
24  'admin/user/ban' => ['access' => 'admin'],
25  'admin/user/bulk/ban' => ['access' => 'admin'],
26  'admin/user/bulk/delete' => ['access' => 'admin'],
27  'admin/user/bulk/unban' => ['access' => 'admin'],
28  'admin/user/bulk/validate' => ['access' => 'admin'],
29  'admin/user/change_email' => ['access' => 'admin'],
30  'admin/user/delete' => ['access' => 'admin'],
31  'admin/user/login_as' => ['access' => 'admin'],
32  'admin/user/logout_as' => [],
33  'admin/user/makeadmin' => ['access' => 'admin'],
34  'admin/user/resetpassword' => ['access' => 'admin'],
35  'admin/user/removeadmin' => ['access' => 'admin'],
36  'admin/user/unban' => ['access' => 'admin'],
37  'admin/user/validate' => ['access' => 'admin'],
38  'annotation/delete' => [],
39  'avatar/upload' => [],
40  'comment/save' => [],
41  'diagnostics/download' => ['access' => 'admin'],
42  'entity/chooserestoredestination' => [],
43  'entity/delete' => [],
44  'entity/mute' => [],
45  'entity/restore' => [],
46  'entity/subscribe' => [],
47  'entity/trash' => [],
48  'entity/unmute' => [],
49  'entity/unsubscribe' => [],
50  'login' => ['access' => 'logged_out'],
51  'logout' => [],
52  'notifications/mute' => ['access' => 'public'],
53  'plugins/settings/remove' => ['access' => 'admin'],
54  'plugins/settings/save' => ['access' => 'admin'],
55  'plugins/usersettings/save' => [],
56  'register' => [
57  'access' => 'logged_out',
58  'middleware' => [
59  \Elgg\Router\Middleware\RegistrationAllowedGatekeeper::class,
60  ],
61  ],
62  'river/delete' => [],
63  'settings/notifications' => [],
64  'settings/notifications/subscriptions' => [],
65  'user/changepassword' => ['access' => 'public'],
66  'user/requestnewpassword' => ['access' => 'public'],
67  'useradd' => ['access' => 'admin'],
68  'usersettings/save' => [],
69  'widgets/add' => [],
70  'widgets/delete' => [],
71  'widgets/move' => [],
72  'widgets/save' => [],
73 ];