Koha/koha-tmpl/intranet-tmpl/prog/en
Fridolyn SOMERS d1bec84142 Bug 11146: Show a go back link on no permission page
When a user does not have permissions 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 their browser to
come back on the page they were before trying to get to the
non-permitted page.

This patch adds a button to help coming back to previous page.
It also changes the "Click to log out" link 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>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-11-23 19:43:37 +00:00
..
css Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
data Bug 10592: fix MARC21 006/008 cataloging plugins 2013-07-22 14:00:23 +00:00
includes Bug 9261: (follow-up) fix various issues identified during QA 2013-11-15 00:22:11 +00:00
js Bug 11205: fix DataTables filter issue when more than one table is on a page 2013-11-09 16:28:52 +00:00
lib
modules Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
xslt Bug 10911: fix invalid links when displaying records that have 880 fields 2013-09-23 17:12:13 +00:00
columns.def Bug 7684: multiple fixes for inventory 2013-11-01 00:10:49 +00:00