summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod/pages
diff options
context:
space:
mode:
authorSimon Rettberg2018-04-10 15:46:43 +0200
committerSimon Rettberg2018-04-10 15:46:43 +0200
commite23af9e58c4a3cd01b63a0ff519d92183f429db1 (patch)
treeba5bcf9677d1c09b7887c5771df5bbd6145ab56e /modules-available/dozmod/pages
parent[exams] Fix always-disabled "add" button for existing lectures (diff)
downloadslx-admin-e23af9e58c4a3cd01b63a0ff519d92183f429db1.tar.gz
slx-admin-e23af9e58c4a3cd01b63a0ff519d92183f429db1.tar.xz
slx-admin-e23af9e58c4a3cd01b63a0ff519d92183f429db1.zip
[dozmod] Require explicit view permission for user list
Diffstat (limited to 'modules-available/dozmod/pages')
-rw-r--r--modules-available/dozmod/pages/users.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/dozmod/pages/users.inc.php b/modules-available/dozmod/pages/users.inc.php
index 0c958feb..23457ca6 100644
--- a/modules-available/dozmod/pages/users.inc.php
+++ b/modules-available/dozmod/pages/users.inc.php
@@ -5,7 +5,8 @@ class SubPage
public static function doPreprocess()
{
-
+ // Currently there's only one view, actions are ajax
+ User::assertPermission('users.view');
}
public static function doRender()