From 22061c248fa01eec5dc92eb47d89d7cd0d96d278 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 (cherry picked from commit fd982c027ddf247e441f2db278145b54f7dc537c) 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 22af1e819d..058d270658 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc @@ -261,7 +261,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