Summary: | Show a go back link on no permission page | ||
---|---|---|---|
Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
Component: | Authentication | Assignee: | Fridolin Somers <fridolin.somers> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | dpavlin, garming, gmcharlt, kyle, liz, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 11146 - Show a go back link on no permission page
Bug 11146 - Show a go back link on no permission page Bug 11146 - Show a go back link on no permission page |
Description
Fridolin Somers
2013-10-28 12:45:31 UTC
Created attachment 22467 [details] [review] Bug 11146 - Show a go back link on no permission page See commit message This is a demand for librarians not really used to internet browsers. yes, it exists. Created attachment 23048 [details] [review] Bug 11146 - Show a go back link on no permission page Quick note on this - the functionality is only available in the Prog theme - it will need to be added to the new default bootstrap theming. Cheers, Liz See this is what happens when I have too many bug windows open. *sighs* Created attachment 23094 [details] [review] Bug 11146 - Show a go back link on no permission page When a user has not the permission for a page or module, the authentication page is displayed with message : "Error: You do not have permission to access this page.". Most librarians uses the "previous page" button of there browser to come back on the page they where before trying to get to this non-permitted page. This patch adds a button to help comming back to previous page. Also moves the link "Click to log out" as a button. Test plan : - Define a user with staff permissions but no permission on tools module - Login with this user => You get to intranet home page - Edit URL to go to tools module : cgi-bin/koha/tools/tools-home.pl => You get a page with a red error message and 2 buttons "Previous page" and "Log out" - Click on "Previous page" => Go get to intranet home page - Edit URL to go to tools module : cgi-bin/koha/tools/tools-home.pl - Click on "Log out" button => You are logged-out and get to authentication page : cgi-bin/koha/mainpage.pl?logout.x=1 Signed-off-by: Garming Sam <garming@catalyst.net.nz> Works as intended. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Pushed to master. Thanks, Fridolin! This patch has been pushed to 3.14.x, will be in 3.14.1 This patch has been pushed to 3.12.x, will be in 3.12.8. Thanks Fridolin! |