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/delete' => [],
43  'entity/mute' => [],
44  'entity/subscribe' => [],
45  'entity/unmute' => [],
46  'entity/unsubscribe' => [],
47  'login' => ['access' => 'logged_out'],
48  'logout' => [],
49  'notifications/mute' => ['access' => 'public'],
50  'plugins/settings/remove' => ['access' => 'admin'],
51  'plugins/settings/save' => ['access' => 'admin'],
52  'plugins/usersettings/save' => [],
53  'register' => [
54  'access' => 'logged_out',
55  'middleware' => [
56  \Elgg\Router\Middleware\RegistrationAllowedGatekeeper::class,
57  ],
58  ],
59  'river/delete' => [],
60  'settings/notifications' => [],
61  'settings/notifications/subscriptions' => [],
62  'user/changepassword' => ['access' => 'public'],
63  'user/requestnewpassword' => ['access' => 'public'],
64  'useradd' => ['access' => 'admin'],
65  'usersettings/save' => [],
66  'widgets/add' => [],
67  'widgets/delete' => [],
68  'widgets/move' => [],
69  'widgets/save' => [],
70 ];