[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
Thu Apr 14 00:53:43 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16231
--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Comment on attachment 50195
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50195
Bug 16231 - Correct permission handling in subscription edit menu
Review of attachment 50195:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=16231&attachment=50195)
-----------------------------------------------------------------
::: koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc
@@ -50,4 @@
> <div class="btn-group">
> <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
> <ul class="dropdown-menu">
> - [% IF ( cannotedit ) %] <li class="disabled"> [% ELSE %]
If you follow 'cannotedit' through the code, you can see that the permission
check is quite a complicated one here:
sub _can_do_on_subscription
It also checks superserials and IndependentBranches.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list