https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36941 Bug ID: 36941 Summary: Only list the available libraries at login when StaffLoginRestrictBranchByIP is enabled Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@ptfs-europe.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Depends on: 36934 Currently, we appear to still list all libraries in the dropdown when the `StaffLoginRestrictBranchByIP` preference is enabled.. this is unclear to the end user. We should be able to distinguish the IP range before loading the login page and thus only display valid options in the list (or at least display the invalid options as disabled) Question however.. how should this work for a librarian with increased privileges.. perhaps we should hint they're unavailable but not actually disable their selection for this use case? Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36934 [Bug 36934] "Wrong CSRF" after login rejection (StaffLoginRestrictBranchByIP) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.