From 3458f240b77db569f1e08728d6dc627528829c20 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sat, 19 May 2018 20:23:47 -0400 Subject: [PATCH] Users who can handle cats can see all of them on the edit user/perm group pages --- admin/manage_permission_groups.php | 12 +++++++----- admin/manage_users.php | 7 ++++++- inc/profile_functions.inc.php | 24 ++++++++++++++++++------ 3 files changed, 31 insertions(+), 12 deletions(-) diff --git a/admin/manage_permission_groups.php b/admin/manage_permission_groups.php index 42cdd736..dcf007bd 100644 --- a/admin/manage_permission_groups.php +++ b/admin/manage_permission_groups.php @@ -189,8 +189,9 @@ function createEditModal($template, $features, $categories)
- + } - + if ($_SESSION['isadmin'] || $can_man_categories || in_array($category['id'], $_SESSION['categories']) || $checked): ?>