Bug 20568: Fix bad resolution conflict with bug 18403
borrowers module permission has now several subpermissions Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
0cb1020e0c
commit
d2454d6868
|
|
@ -66,7 +66,7 @@
|
|||
<li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to manage API keys" id="apikeys" href="#">Manage API keys</a></li>
|
||||
[% END %]
|
||||
|
||||
[% IF ( CAN_user_borrowers ) %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
[% IF ( NorwegianPatronDBEnable == 1 ) %]
|
||||
<li><a id="deletepatronlocal" href="#">Delete local</a></li>
|
||||
<li><a id="deletepatronremote" href="#">Delete remote</a></li>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $cgi,
|
||||
type => 'intranet',
|
||||
authnotrequired => 0,
|
||||
flagsrequired => { borrowers => 1 },
|
||||
flagsrequired => { borrowers => 'edit_borrowers' },
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue