Bug 38129

Summary: Add note regarding permissions in suggestion manager search pop-up modal
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: TemplatesAssignee: Jonathan Druart <jonathan.druart>
Status: RESOLVED FIXED QA Contact: Lucas Gass (lukeg) <lucas>
Severity: minor    
Priority: P5 - low CC: jonathan.druart, lucas
Version: MainKeywords: regression
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
24.11.00
Circulation function:
Bug Depends on: 35329    
Bug Blocks:    
Attachments: Bug 38129: Display note regarding permissions in suggestion manager search pop-up modal
Bug 38129: Display note regarding permissions in suggestion manager search pop-up modal
Bug 38129: Display note regarding permissions in suggestion manager search pop-up modal

Description Caroline Cyr La Rose 2024-10-08 19:10:12 UTC
There used to be a note in the patron search pop-up for suggestion manager selection that "Only staff with superlibrarian or suggestions_manage permissions are returned in the search results". This note is no longer there.

To get there:
1. In the staff interface, go to More > Suggestions > New purchase suggestion
2. Click 'Select manager'
   --> Note that there is no note regarding the necessary permissions in the popup
3. Search for 'alford' (for example)
   --> There are no results because Jordan Alford doesn't have the necessary permissions

For comparison:
1. In the staff interface, go to Acquisitions
2. Click 'Search' next to the vendor search box
3. Click 'My Basket'
4. Click 'Add user'
   --> Note that there is a note "Only staff with superlibrarian or acquisitions permissions (or order_manage permission if granular permissions are enabled) are returned in the search results"
Comment 1 Jonathan Druart 2024-10-09 07:36:37 UTC
Created attachment 172557 [details] [review]
Bug 38129: Display note regarding permissions in suggestion manager search pop-up modal

1. In the staff interface, go to More > Suggestions > New purchase suggestion
2. Click 'Select manager'
=> With this patch you see a note regarding permissions
3. Search for 'alford' (for example)
=> User is not returned, they do not have the suggestion permission
Comment 2 Owen Leonard 2024-10-09 12:58:49 UTC
Created attachment 172571 [details] [review]
Bug 38129: Display note regarding permissions in suggestion manager search pop-up modal

1. In the staff interface, go to More > Suggestions > New purchase
   suggestion
2. Click 'Select manager'
   => With this patch you see a note regarding permissions
3. Search for 'alford' (for example)
   => User is not returned, they do not have the suggestion permission

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 3 Lucas Gass (lukeg) 2024-10-10 16:28:49 UTC
Created attachment 172665 [details] [review]
Bug 38129: Display note regarding permissions in suggestion manager search pop-up modal

1. In the staff interface, go to More > Suggestions > New purchase
   suggestion
2. Click 'Select manager'
   => With this patch you see a note regarding permissions
3. Search for 'alford' (for example)
   => User is not returned, they do not have the suggestion permission

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Comment 4 Katrin Fischer 2024-10-11 10:28:03 UTC
Pushed for 24.11!

Well done everyone, thank you!
Comment 5 Lucas Gass (lukeg) 2024-12-05 19:15:19 UTC
Merge conflicts in 24.05.x, no backport.