Bugzilla – Attachment 183133 Details for
Bug 38446
Permission error for additional fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38446: Allow those with ERM permissions to access extended attributes
Bug-38446-Allow-those-with-ERM-permissions-to-acce.patch (text/plain), 1.57 KB, created by
Katrin Fischer
on 2025-06-10 14:13:02 UTC
(
hide
)
Description:
Bug 38446: Allow those with ERM permissions to access extended attributes
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2025-06-10 14:13:02 UTC
Size:
1.57 KB
patch
obsolete
>From b8907433e6c7ba21b33a653cf5b649b561efd8b9 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Mon, 18 Nov 2024 17:32:18 +0000 >Subject: [PATCH] Bug 38446: Allow those with ERM permissions to access > extended attributes > >Test plan: >1. Log in as superlibrarian >2. Activate ERM >3. Add a new additional field for Licences under cgi-bin/koha/admin/additional-fields.pl >4. Go to ERM Module >5. Add a Licence and use the new additional field >6. Search for a user, for example borrowernumber=17 >7. Give permissions for erm , acquisition and catalogue (staff access) >8. Log in with this account >9. Go to ERM Module >10. Try to edit the licence with the additional field you have created in step 5 >11. Apply patch and run yarn api:bundle and then restart_all >12. Repeat steps 9 and 10 >13. The permissions error should vanish > >Signed-off-by: William Lavoie <william.lavoie@inLibro.com> >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > api/v1/swagger/paths/extended_attribute_types.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/api/v1/swagger/paths/extended_attribute_types.yaml b/api/v1/swagger/paths/extended_attribute_types.yaml >index eba7aec9017..2fe8ddb4139 100644 >--- a/api/v1/swagger/paths/extended_attribute_types.yaml >+++ b/api/v1/swagger/paths/extended_attribute_types.yaml >@@ -59,4 +59,6 @@ > $ref: "../swagger.yaml#/definitions/error" > x-koha-authorization: > permissions: >- parameters: manage_additional_fields >+ - parameters: >+ - manage_additional_fields >+ - erm: 1 >-- >2.39.5
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 38446
:
174758
|
176471
| 183133