https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39927

David Nind <da...@davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This enhancement fixes the
      release notes|                            |staff interface home page
                   |                            |so that the
                   |                            |"Self-registrations from"
                   |                            |alert is only shown if the
                   |                            |staff patron has the
                   |                            |correct permissions. Before
                   |                            |this, the alert was shown
                   |                            |when the staff patron
                   |                            |didn't have any borrower
                   |                            |permissions.

--- Comment #6 from David Nind <da...@davidnind.com> ---
Thanks Owen for the follow-up!

Updated testing notes:

1. After the patch and with no borrowers permissions, there is no empty white
section under the links to the modules (as expected).

2. Both before and after the patch, if a staff patron has only the
edit_borrowers permission: 
   - The staff patron sees "Self-registrations from: All libraries: 2 / Midway:
1" (I created two self-registrations - one for Centerville, one for Midway)
   - When you access the self-registrations page, you get a pop-up error
message saying "Something went wrong when loading the table. 403: Forbiddden.
OK"
   - The table to list self-registration patrons is shown, but has a
"Processing" message shown, and no patrons listed.
   - This is the same as when you go to the patrons module, and search or
browse for patrons.
   - In this case, you would need edit_borrowers and list_borrowers permissions
for this to work correctly - that is, if you have edit_borrowers you also need
list_borrowers. Otherwise, this would be another bug.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to