diff options
author | Simon Rettberg | 2018-04-10 15:46:43 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-10 15:46:43 +0200 |
commit | e23af9e58c4a3cd01b63a0ff519d92183f429db1 (patch) | |
tree | ba5bcf9677d1c09b7887c5771df5bbd6145ab56e | |
parent | [exams] Fix always-disabled "add" button for existing lectures (diff) | |
download | slx-admin-e23af9e58c4a3cd01b63a0ff519d92183f429db1.tar.gz slx-admin-e23af9e58c4a3cd01b63a0ff519d92183f429db1.tar.xz slx-admin-e23af9e58c4a3cd01b63a0ff519d92183f429db1.zip |
[dozmod] Require explicit view permission for user list
-rw-r--r-- | modules-available/dozmod/pages/users.inc.php | 3 |
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() |