http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11146
Kyle M Hall <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23048|0 |1 is obsolete| | --- Comment #6 from Kyle M Hall <[email protected]> --- Created attachment 23094 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23094&action=edit 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 <[email protected]> Works as intended. Signed-off-by: Kyle M Hall <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
