[Koha-bugs] [Bug 7673] New patron permissions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 11 12:35:52 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7673

--- Comment #36 from Magnus Enger <magnus at enger.priv.no> ---
I applied the patch, then tried creating a librarian *without* the
editcatalogue.delete_all_items permission. But this patron was still able to
delete all items from a record. As far as I can see, the actual implementation
of the permission is missing from the most reet versin of the patches.
Specifically this part seems to be missing:

[% IF ( CAN_user_editcatalogue_delete_all_items ) %]{ text: _("Delete all
items"), onclick: {fn: confirm_items_deletion }[% UNLESS ( count )
%],id:'disabled'[% END %] }[% END %]

See this for context:
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9857&action=diff#a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc_sec1

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


More information about the Koha-bugs mailing list