[Bug 30732] New: Librarians with only "place_holds" permission can not suspend and resume holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 Bug ID: 30732 Summary: Librarians with only "place_holds" permission can not suspend and resume holds Change sponsored?: --- Product: Koha Version: 21.05 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Hold requests Assignee: koha-bugs@lists.koha-community.org Reporter: kyle@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com If a librarian only has the place_holds permission, they can see the buttons for placing and suspending holds on moremember.pl and circulation.pl, but cannot use them. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 --- Comment #1 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 134895 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=134895&action=edit Bug 30732: Librarians with only "place_holds" permission can not suspend and resume holds If a librarian only has the place_holds permission, they can see the buttons for placing and suspending holds on moremember.pl and circulation.pl, but cannot use them. Test Plan: 1) Give your librian only the place_holds permission 2) Attempt to suspend and resume holds on moremember.pl and circulation.pl 3) Note you cannot 4) Apply this patch 5) Restart all the things! 6) Test again, note you can now suspend and resume holds! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=30207 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |kyle@bywatersolutions.com |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 Sally <sally.healey@cheshiresharedservices.gov.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sally.healey@cheshireshared | |services.gov.uk Status|Needs Signoff |Failed QA --- Comment #2 from Sally <sally.healey@cheshiresharedservices.gov.uk> --- Sorry, Kyle, I can't get this to work - I restarted services before testing. - I set up a hold and suspended it - I logged into a limited staff account with only place_hold permission - I tried to resume the hold and on both pages got, "Your request could not be processed. Check the logs." - I logged back in as the superlibrarian account and resumed the hold - I logged back into the staff account (with only place_hold permission) - I tried to suspend the hold - this time I got the suspension date box, but any attempt to suspend it (with or without a date) caused the, "Your request could not be processed. Check the logs." error to show. I cleared the hold and placed a new one via the limited staff account, but the same error occurred. I also wondered if it was a cache thing, so as well as clearing the cache, I tried in a different browser - but no joy. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major CC| |fridolin.somers@biblibre.co | |m --- Comment #3 from Fridolin Somers <fridolin.somers@biblibre.com> --- I rise to Major because this can be a daily issue for librarians. Bug 30207 is pushed so we would like this one should go forward. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #134895|0 |1 is obsolete| | --- Comment #4 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 140562 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140562&action=edit Bug 30732: Librarians with only "place_holds" permission can not suspend and resume holds If a librarian only has the place_holds permission, they can see the buttons for placing and suspending holds on moremember.pl and circulation.pl, but cannot use them. Test Plan: 1) Give your librian only the place_holds permission 2) Attempt to "suspend all" and "resume all" holds on moremember.pl and circulation.pl 3) Note you cannot 4) Apply this patch 5) Restart all the things! 6) Test again, note you can now suspend and resume holds! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 --- Comment #5 from Kyle M Hall <kyle@bywatersolutions.com> --- I've amended by test plan! I should have wrote to use the "all" versions of the suspend and resume buttons! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #140562|0 |1 is obsolete| | --- Comment #6 from David Nind <david@davidnind.com> --- Created attachment 140601 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140601&action=edit Bug 30732: Librarians with only "place_holds" permission can not suspend and resume holds If a librarian only has the place_holds permission, they can see the buttons for placing and suspending holds on moremember.pl and circulation.pl, but cannot use them. Test Plan: 1) Give your librian only the place_holds permission 2) Attempt to "suspend all" and "resume all" holds on moremember.pl and circulation.pl 3) Note you cannot 4) Apply this patch 5) Restart all the things! 6) Test again, note you can now suspend and resume holds! Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- With * this will work with either, place_holds and modify_holds_priority permission, not only with place_holds. Was this the intended behaviour? Also: if you have neither, you can still see the buttons. We should add permission checks there as well, so people don't get into the situation in the first place where they get stuck on missing permissions (could be a separate bug). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 --- Comment #8 from Kyle M Hall <kyle@bywatersolutions.com> --- (In reply to Katrin Fischer from comment #7)
With * this will work with either, place_holds and modify_holds_priority permission, not only with place_holds.
Was this the intended behaviour?
Also: if you have neither, you can still see the buttons. We should add permission checks there as well, so people don't get into the situation in the first place where they get stuck on missing permissions (could be a separate bug).
Indeed. I think the solution is hide the button unless the patron has place_holds. We can just set the script permission to be for place_holds too, right? If you think that's a good course of action Katrin, I will make those changes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emmi.takkinen@koha-suomi.fi --- Comment #9 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- It seems this has been fixed in bug 31893. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30732 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|Failed QA |RESOLVED --- Comment #10 from Fridolin Somers <fridolin.somers@biblibre.com> --- Indeed *** This bug has been marked as a duplicate of bug 31893 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org