diff options
Diffstat (limited to 'modules-available/adduser/page.inc.php')
-rw-r--r-- | modules-available/adduser/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/adduser/page.inc.php b/modules-available/adduser/page.inc.php index c43a04e6..3af4ea6d 100644 --- a/modules-available/adduser/page.inc.php +++ b/modules-available/adduser/page.inc.php @@ -191,7 +191,7 @@ class Page_AddUser extends Page Render::closeTag('form'); } } elseif ($show === 'list') { - User::assertPermission('list.view'); + User::assertPermission('user.view-list'); $page = new Paginate('SELECT userid, login, fullname, phone, email FROM user ORDER BY login', 50); $data = ['list' => $page->exec()->fetchAll(PDO::FETCH_ASSOC)]; foreach ($data['list'] as &$u) { |