https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16231

--- Comment #3 from Katrin Fischer <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to