[Koha-bugs] [Bug 16231] Correct permission handling in subscription edit menu
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Feb 16 20:24:45 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16231
--- Comment #21 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Owen Leonard from comment #14)
> As far as I can tell you cannot delete a subscription without "edit"
> permission, despite the separate permissions. I think it has to do with out
> the "cannotedit" variable is defined.
Not sure this is correct, in subscription-detail.pl:
52 # Permission needed if it is a deletion (del) : delete_subscription
53 # Permission needed otherwise : *
54 my $permission = ($op eq "del") ? "delete_subscription" : "*";
Not a big deal I'd say, but maybe a minor bug (?)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list