Bugzilla – Attachment 159899 Details for
Bug 35574
Bookings page should require only manage_bookings permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35574: Don't show the link either
Bug-35574-Dont-show-the-link-either.patch (text/plain), 1.27 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-12-15 19:27:40 UTC
(
hide
)
Description:
Bug 35574: Don't show the link either
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-12-15 19:27:40 UTC
Size:
1.27 KB
patch
obsolete
>From 99b981abfb261282f983a42b23473a78ba4a9e25 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 15 Dec 2023 11:11:56 +0000 >Subject: [PATCH] Bug 35574: Don't show the link either > >This patch adds the check for permission to the biblio menu item too. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc >index 77aba3c844b..7d3aee94621 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc >@@ -50,7 +50,7 @@ > <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio_object_id | url %]">Items</a> > </li> > >- [% IF ( Biblio.CanBook(biblio_object_id) ) %] >+ [% IF ( Biblio.CanBook(biblio_object_id) && CAN_user_circulate_manage_bookings ) %] > [%- IF ( bookingsview ) -%] > <li class="active"> > [%- ELSE -%] >-- >2.43.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35574
:
159851
|
159852
|
159853
|
159874
|
159875
|
159876
|
159877
|
159878
|
159879
|
159880
|
159886
|
159887
|
159888
|
159889
|
159890
|
159896
|
159897
|
159898
| 159899 |
159900