diff options
author | Simon Rettberg | 2018-04-09 16:56:04 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-09 16:56:04 +0200 |
commit | 24815e16087b4b1b64e9f380d45d411af32daf42 (patch) | |
tree | b41206d3cd86ed840d0841826d7c2dc492ed788e /modules-available/systemstatus | |
parent | [news] Ask for confirmation when deleting entry (diff) | |
download | slx-admin-24815e16087b4b1b64e9f380d45d411af32daf42.tar.gz slx-admin-24815e16087b4b1b64e9f380d45d411af32daf42.tar.xz slx-admin-24815e16087b4b1b64e9f380d45d411af32daf42.zip |
Permissions: Consistency: Make all pages require at least one permission to be accessible
Closes #3340
Diffstat (limited to 'modules-available/systemstatus')
-rw-r--r-- | modules-available/systemstatus/page.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/systemstatus/page.inc.php b/modules-available/systemstatus/page.inc.php index 816caa05..66b30bcf 100644 --- a/modules-available/systemstatus/page.inc.php +++ b/modules-available/systemstatus/page.inc.php @@ -18,6 +18,7 @@ class Page_SystemStatus extends Page User::assertPermission("serverreboot"); $this->rebootTask = Taskmanager::submit('Reboot'); } + User::assertPermission('*'); } protected function doRender() |