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

Lucas Gass (lukeg) <[email protected]> changed:

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

--- Comment #7 from Lucas Gass (lukeg) <[email protected]> ---
Created attachment 190992
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190992&action=edit
Bug 39927: Add permissions check to PatronSelfRegistrationAlert on home page

This patch adds a permissions check around the display of
PatronSelfRegistrationAlert information on the staff interface home
page.

To test, apply the patch and follow the test plan on Bug 35028:

1. Create patron category SELFREG
2. Enable PatronSelfRegistration and set
   PatronSelfRegistrationDefaultCategory to SELFREG and
   PatronSelfRegistrationAlert to "Show"
3. Go to OPAC, logout if needed, and create a new account. Remember the
   value you set for home library.
4. Go to staff interface, set the current library to the one you set in
   step 3.

Now view the staff interface home page as two different users:
- A user with either CAN_user_borrowers_edit_borrowers or
  CAN_user_borrowers_list_borrowers permission.
- A user with neither.
- The self-registration information should display or not depending on
  the user's permission.

Sponsored-by: Athens County Public Libraries
Signed-off-by: David Nind <[email protected]>
Signed-off-by: Lucas Gass <[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