Bug 14737: wrong permissions required for cn_browser.pl plugin
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 27 Aug 2015 14:31:42 +0000 (11:31 -0300)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 22 Sep 2015 01:13:49 +0000 (13:13 +1200)
commit2a9d47ea610081e6d1dda9dbbbdac0349263a2d3
tree9519550dff67567355e10123cddb225f461237cd
parent5f6d7f62711286273abb1fa352bd16405a7e9862
Bug 14737: wrong permissions required for cn_browser.pl plugin

The cn_browser.pl cataloguing plugin only searches for used callnumbers
on the bibliographic database. There is no need for this plugin to
require special permissions besides access to the catalog.

To test:
- Link the cb_browser.pl cataloguing plugin to 952$o in your favourite cataloguing framework
- Login with a superlibrarian user
- Try the plugin
=> SUCCESS: you can use it
- Login with a user that has the full 'tools' permission
- Try the plugin
=> SUCCSES: you can use it
- Login with a user that doesn't have full 'tools' permission
  but has the normal catalogue and cataloguing permissions.
- Try the plugin
=> FAIL: you are requested to login with a different user
- Apply the patch
- Retry
=> SUCCESS: you can use it
- Sign off :-D

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b348c07f969a5bd17f25e5ced681ad44aa351c0e)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
cataloguing/value_builder/cn_browser.pl