]> git.koha-community.org Git - koha.git/commit
Bug 22198: Add granular permission setting for Mana KB
authorOwen Leonard <oleonard@myacpl.org>
Thu, 24 Jan 2019 13:47:26 +0000 (13:47 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 4 Feb 2019 14:54:03 +0000 (14:54 +0000)
commite142e85d65f91a58a7aefbab3560d59f92134c2f
treeffa07c937664bcb50e5976ca8f819c5aaa66d219
parent1575d339629e68902ad9a92565f4b331e8c04d79
Bug 22198: Add granular permission setting for Mana KB

This patch adds a separate permission for managing Mana KB.

To test, apply the patch and update the database.

 - Open the permissions page for a patron with staff client privileges
   - Confirm that there is a "Manage Mana KB content sharing
     (manage_mana)" permission.
   - Leaving this new permission unchecked, log into the staff client
     with as that patron and go to the Administration home page.
       - The "Using Mana-KB" link should not appear.
       - Navigate directly to /cgi-bin/koha/admin/share_content.pl. You
         should get a "permission denied" message.
   - Modify the patron's permissions to grant them access to Mana KB.
       - Confirm that the link now appears on the Administration home
         page and that the user can access the page.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
admin/share_content.pl
installer/data/mysql/atomicupdate/bug_22198-mana_manage_permission.sql [new file with mode: 0644]
installer/data/mysql/userpermissions.sql
koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt