]> git.koha-community.org Git - koha.git/commit
Bug 15326: (follow-up) Fix staff permissions and consider library limits
authorAleisha Amohia <aleishaamohia@hotmail.com>
Mon, 15 Aug 2022 05:31:57 +0000 (17:31 +1200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 16 Aug 2022 18:42:33 +0000 (15:42 -0300)
commit01091c80893caab0c5b3a99397be658e3a537ead
tree32888a3a58f23b89ad308f46d0f740e173e97522
parente55864db2747bd8bc139b3b26c0f5214f1958123
Bug 15326: (follow-up) Fix staff permissions and consider library limits

To test:
1. Take note of what your logged in library is
2. Add a new page that can be viewed on the OPAC and staff interface.
Limit the library to a different library, not your logged in library
3. Use a News item to create a hyperlink to your new page on the OPAC
and staff interface.
4. Confirm that a page error shows if you try to view the new page.
5. Edit the new page and set the library to All libraries.
6. Try to go to the new page again and confirm it shows.
7. Log out and log back into the staff interface as a staff user that
isn't a superlibrarian
8. Confirm you can view the new page as this user

Sponsored-by: Horowhenua Libraries Trust
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
opac/opac-page.pl
tools/page.pl