From 12a45403b79499a3b7461224f395b07fc9c6b220 Mon Sep 17 00:00:00 2001 From: Thibault Dockx <thibault.dockx@fusiondirectory.org> Date: Tue, 25 Jun 2024 14:12:39 +0100 Subject: [PATCH] :sparkles: (CORE) - new section of access control ACL role and assignments are within their own section --- plugins/management/acl/class_aclManagement.inc | 4 ++-- plugins/management/aclrole/class_aclRoleManagement.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/management/acl/class_aclManagement.inc b/plugins/management/acl/class_aclManagement.inc index 9d8c0c403..7074c9220 100644 --- a/plugins/management/acl/class_aclManagement.inc +++ b/plugins/management/acl/class_aclManagement.inc @@ -147,8 +147,8 @@ class aclManagement extends management 'plTitle' => _('ACL assignments management'), 'plDescription' => _('Manage ACL roles assignments to users'), 'plIcon' => 'geticon.php?context=categories&icon=acl&size=48', - 'plSection' => 'accounts', - 'plPriority' => 28, + 'plSection' => 'accessControl', + 'plPriority' => 2, 'plManages' => ['aclAssignment'], 'plProvidedAcls' => [] diff --git a/plugins/management/aclrole/class_aclRoleManagement.inc b/plugins/management/aclrole/class_aclRoleManagement.inc index b17c194be..8188360fd 100644 --- a/plugins/management/aclrole/class_aclRoleManagement.inc +++ b/plugins/management/aclrole/class_aclRoleManagement.inc @@ -27,8 +27,8 @@ class aclRoleManagement extends management 'plTitle' => _('ACL roles management'), 'plDescription' => _('Manage ACL roles'), 'plIcon' => 'geticon.php?context=categories&icon=acl&size=48', - 'plSection' => 'accounts', - 'plPriority' => 27, + 'plSection' => ['accessControl' => ['name' => _('Access Control'), 'priority' => 11]], + 'plPriority' => 1, 'plCategory' => ['acl'], 'plManages' => ['aclRole'], -- GitLab