From 6622917c924b7fb4d74f7e2237ac5648006159d4 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Fri, 12 Apr 2024 05:53:25 -0400 Subject: [PATCH] Bug 36529: manage_additional_fields permission for more than acquisitions and serials This patch renames the manage_additional_fields permission to remove the specificity of acquisitions orders and serial subscriptions. Since each additional field requires a corresponding permission, I wrote each of them next to it. It makes it very long, but right now there isn't really a way to link permissions other than the permission description. To test: 1. Apply patch 2. Go to a patron account 3. Click More > Set permissions 4. Go to the Administration panel permissions and open the sub-permissions 5. Check that the manage_additional_fields permission description makes sense, check grammar and spelling, try the various combinations Signed-off-by: Pedro Amorim Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc index a4efd4105f..b8f2c2b040 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc @@ -269,7 +269,7 @@ ([% name | html %]) [%- CASE 'manage_additional_fields' -%] - Manage additional fields for baskets or subscriptions (requires edit_subscription or order_manage permissions) + Manage additional fields (requires the corresponding permission, one of edit_subscription, order_manage, edit_invoices, or remaining_permissions under updatecharges) ([% name | html %]) [%- CASE 'manage_sms_providers' -%] -- 2.39.2