[Koha-bugs] [Bug 22617] Checkout notes pending dashboard link - error received even though manage_checkout_notes permission set.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 21 13:19:44 CEST 2019


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #90711|0                           |1
        is obsolete|                            |

--- Comment #6 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 90895
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90895&action=edit
Bug 22617: Fix checkout notes typo in manage_checkout_notes permission usage

When logged into the staff client with an account with full circulate
permissions (and therefore including the manage_checkout_notes permission) an
error occurs when clicking on the Checkout notes pending link.  The account is
logged out automatically with the message:  "Error: you do not have permission
to view this page.  Log in as a different user".
The same error occurs for both the link on the home page dashboard and from the
Circulation module button.  Works as expected if Superlibrarian permission is
set.

This is just a typo in perl script : circulation instead of circulate

Test plan :
1) Set preference "AllowCheckoutNotes" to "Allow"
2) Create a user with only permissions "catalogue" and "circulate >
manage_checkout_notes"
3) Loggin with this user
4) Go to "Circulation" home page
5) Click on "Checkout notes"
6) You should be allowed to access

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list