Summary: | Agreement/license user selection not limited to users with ERM module permissions | ||
---|---|---|---|
Product: | Koha | Reporter: | Caroline Cyr La Rose <caroline.cyr-la-rose> |
Component: | ERM | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | Pushed to stable --- | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
Severity: | normal | ||
Priority: | P5 - low | CC: | caroline.cyr-la-rose, jonathan.druart, jonathan.field, lucas, martin.renvoize, matt.blenkinsop, pedro.amorim |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
24.11.00,24.05.06
|
|
Circulation function: | |||
Bug Depends on: | 35329 | ||
Bug Blocks: | |||
Attachments: |
Bug 38128: (Bug 35329 follow-up) Filter ERM users to users with erm permission
Bug 38128: (Bug 35329 follow-up) Filter ERM users to users with erm permission Bug 38128: (Bug 35329 follow-up) Filter ERM users to users with erm permission Bug 38128: Fix cypress test |
Description
Caroline Cyr La Rose
2024-10-08 19:01:18 UTC
Created attachment 172556 [details] [review] Bug 38128: (Bug 35329 follow-up) Filter ERM users to users with erm permission There was a silly mistake, we passed the TT var erm_users instead of the string "erm_users". It should also be passed to patron_search_modal to display the note. Test plan: Confirm that with this patch a patron search in the ERM module returns only patrons with the erm permission. Created attachment 172558 [details] [review] Bug 38128: (Bug 35329 follow-up) Filter ERM users to users with erm permission There was a silly mistake, we passed the TT var erm_users instead of the string "erm_users". It should also be passed to patron_search_modal to display the note. Test plan: Confirm that with this patch a patron search in the ERM module returns only patrons with the erm permission. Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> @Caroline are you able to test this, as the original reporter of the bug? If you're able to add your SO, we can change mine to PQA to help this move in the queue. Created attachment 173510 [details] [review] Bug 38128: (Bug 35329 follow-up) Filter ERM users to users with erm permission There was a silly mistake, we passed the TT var erm_users instead of the string "erm_users". It should also be passed to patron_search_modal to display the note. Test plan: Confirm that with this patch a patron search in the ERM module returns only patrons with the erm permission. Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Pushed for 24.11! Well done everyone, thank you! Created attachment 174111 [details] [review] Bug 38128: Fix cypress test We were mocking the wrong route. (In reply to Jonathan Druart from comment #6) > Created attachment 174111 [details] [review] [review] > Bug 38128: Fix cypress test > > We were mocking the wrong route. Thanks, picked follow-up for main. Backported to 24.05.x for upcoming 24.05.06 |