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

Martin Renvoize <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #167811|0                           |1
        is obsolete|                            |

--- Comment #11 from Martin Renvoize <[email protected]> ---
Created attachment 168269
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=168269&action=edit
Bug 37104: Block AnonymousPatron from logging into staff interface and OPAC

This patch blocks the patron set as the anonymous patron from logging into the
staff interface and OPAC.

To test:
1) In Administration->sys. pref, make sure AnonymousPatron is pointed to an
account.
2) Visit that patron's page and set their permissions to superlibrarian
("Access to all librarian functions")
3) Ensure that you know the username and password for this patron and can log
in.
4) Visit the OPAC, attempt to log-in with your anon patron.
5) Note that you can log in and nothing happens.
6) Visit the staff interface, attempt to log-in with anon patron.
7) Once again, note that you are able to log-in with no issue.
8) Apply patch and restart_all
9) Attempt to log into the OPAC and staff interface with the patron again.
10) This time, you should get an error message on both pages saying, "Error:
You can't log in as the anonymous patron!"

Signed-off-by: David Nind <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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