Bugzilla – Attachment 80547 Details for
Bug 14391
Granular permissions for the administration module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14391: Keep parameters_remaining_permissions for now
Bug-14391-Keep-parametersremainingpermissions-for-.patch (text/plain), 2.37 KB, created by
Katrin Fischer
on 2018-10-12 18:25:55 UTC
(
hide
)
Description:
Bug 14391: Keep parameters_remaining_permissions for now
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-10-12 18:25:55 UTC
Size:
2.37 KB
patch
obsolete
>From a5f4defc5978819e59870f9a0514626f0af3f7c6 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Fri, 12 Oct 2018 20:21:39 +0200 >Subject: [PATCH] Bug 14391: Keep parameters_remaining_permissions for now > >Since this patch has been written, new references to this >permission have been added to the code: > >- t/db_dependent/api/v1/stockrotationstage.t >- t/db_dependent/api/v1/cities.t >- admin/overdrive.pl > >Instead of removing the permission, let's keep it for now >and do more clean-up later in separate patches if required. >--- > .../atomicupdate/bug14391_granular_admin_permissions.sql | 4 ---- > installer/data/mysql/userpermissions.sql | 1 + > 2 files changed, 1 insertion(+), 4 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug14391_granular_admin_permissions.sql b/installer/data/mysql/atomicupdate/bug14391_granular_admin_permissions.sql >index 500e883b52..7aabf7c61a 100644 >--- a/installer/data/mysql/atomicupdate/bug14391_granular_admin_permissions.sql >+++ b/installer/data/mysql/atomicupdate/bug14391_granular_admin_permissions.sql >@@ -75,8 +75,4 @@ INSERT INTO user_permissions (borrowernumber, module_bit, code) > WHERE borrowernumber IN > (SELECT borrowernumber FROM user_permissions WHERE code = 'catalogue'); > >-/* Clean up now obsolete permission */ >-DELETE FROM user_permissions WHERE module_bit = 3 and code = 'parameters_remaining_permissions'; >-DELETE FROM permissions WHERE module_bit = 3 and code = 'parameters_remaining_permissions'; >- > -- Bug 14391: Add granular permissions to the administration module >diff --git a/installer/data/mysql/userpermissions.sql b/installer/data/mysql/userpermissions.sql >index c2b8c17462..cb71d77b4d 100644 >--- a/installer/data/mysql/userpermissions.sql >+++ b/installer/data/mysql/userpermissions.sql >@@ -5,6 +5,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > ( 1, 'force_checkout', 'Force checkout if a limitation exists'), > ( 1, 'manage_restrictions', 'Manage restrictions for accounts'), > ( 1, 'manage_checkout_notes', 'Mark checkout notes as seen/not seen'), >+ ( 3, 'parameters_remaining_permissions', 'Remaining system parameters permissions'), > ( 3, 'manage_circ_rules', 'Manage circulation rules'), > ( 3, 'manage_circ_rules_from_any_libraries', 'Manage circ rules for any libraries'), > ( 3, 'manage_sysprefs', 'Manage global system preferences'), >-- >2.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14391
:
77461
|
77538
|
78109
|
79556
|
79557
|
79558
|
80004
|
80005
|
80006
|
80541
|
80542
|
80543
| 80547 |
81362
|
81451
|
81452
|
82022