]> git.koha-community.org Git - koha.git/commit
Bug 8230: (follow-up) don't link to basket unless user has appropriate permissions
authorGalen Charlton <gmc@esilibrary.com>
Fri, 13 Dec 2013 23:04:59 +0000 (23:04 +0000)
committerFridolin SOMERS <fridolin.somers@biblibre.com>
Tue, 24 Dec 2013 13:27:34 +0000 (14:27 +0100)
commitca75ea2959988b2fbc831b77c0c9bdc7aadaea75
tree9a57d66ee497d427ce64d621047c237d70c0dd3f
parent7870c0d8fe715fabc5dd7df87337f2300dedcc1b
Bug 8230: (follow-up) don't link to basket unless user has appropriate permissions

With this patch, the basket number on the bib details page is linked
to the basket management page only if the staff user has the appropriate
permissions.

To test:

[1] Log in as a user with the acquisition/order_manage permission.
    Bring up a bib record that is attached to an order and verify
    that the basket number is an active link.
[2] Log in as a user that doesn't have the acquisition/order_manage
    permission.  Verify that the basket number displayed on the bib
    details page is not a hyperlink.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit a050ca83b717c0212e4ae7d102ea1d1f13208edb)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt