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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #166963|0                           |1
        is obsolete|                            |
 Attachment #166964|0                           |1
        is obsolete|                            |
 Attachment #167036|0                           |1
        is obsolete|                            |

--- Comment #28 from Jonathan Druart <[email protected]> ---
Created attachment 167037
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167037&action=edit
Bug 36665: Add option to set the staff user's logged in branch based on their
current ip

This patch adds a new system preference StaffLoginBranchBasedOnIP which
restores the behaviour before bug 35918
of using the current IP to determine the user's logged in branchcode

To test:
 1 - Get your current ip
 2 - Set that IP for a library in the administration section
 3 - Find a user account assigned to a different library that can login to
staff side
 4 - Login to staff as that user, select 'My library'
 5 - You are logged in to the user's branch
 6 - Apply patch, restart all
 7 - Log out and back in, selecting 'My library'
 8 - You are logged in to the user's branch
 9 - Enable new system preference StaffLoginBranchBasedOnIP
 9 - Log out and back in, selecting a different branch, noting the new warning
below the library selection
10 - You are logged in to the branch with the matching IP
11 - Log out and back in, selecting 'My library'
10 - You are logged in to the branch with the matching IP
11 - Change your logged in branch
12 - Verify the selection sticks and you can perform staff actions in the
chosen branch
13 - Change the IP of the library to one that doesn't match yours
14 - Verify you can log out and log back in and that selected branch is
respected when your IP doesn't match library IP

Signed-off-by: Kristi Krueger <[email protected]>

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

Signed-off-by: Jonathan Druart <[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