From fd982c027ddf247e441f2db278145b54f7dc537c 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 Signed-off-by: Katrin Fischer (cherry picked from commit e251212ff5f783ff7d5d9de3821510ba7928d95f) Signed-off-by: Fridolin Somers --- 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 742e6e1c35..c2f9d91370 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.5