Bugzilla – Attachment 97740 Details for
Bug 24481
Incorrect permission in admin/cash_registers.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24481: Permission corrections for admin menu templates
Bug-24481-Permission-corrections-for-admin-menu-te.patch (text/plain), 3.06 KB, created by
Martin Renvoize (ashimema)
on 2020-01-22 14:51:16 UTC
(
hide
)
Description:
Bug 24481: Permission corrections for admin menu templates
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-01-22 14:51:16 UTC
Size:
3.06 KB
patch
obsolete
>From 4395a348ef6317363635e115ef8ad5761ef3f3ff Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 22 Jan 2020 14:45:17 +0000 >Subject: [PATCH] Bug 24481: Permission corrections for admin menu templates > >This patch updates the admin menu include and admin home page to reflect >the updated permissions name for cash registers >--- > koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc | 4 ++-- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc >index f24f3e83fc..dedf3b55bc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc >@@ -51,13 +51,13 @@ > </ul> > [% END %] > >- [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_cash_management_manage_cash_registers ) ) %] >+ [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %] > <h5>Accounting</h5> > <ul> > [% IF ( CAN_user_parameters_manage_accounts ) %] > <li><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></li> > [% END %] >- [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_cash_management_manage_cash_registers ) %] >+ [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) %] > <li><a href="/cgi-bin/koha/admin/cash_registers.pl">Cash registers</a></li> > [% END %] > </ul> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >index 8da6c2b4b9..4e7675de3e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >@@ -107,14 +107,14 @@ > </dl> > [% END %] > >- [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_cash_management_manage_cash_registers ) ) %] >+ [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %] > <h3>Accounting</h3> > <dl> > [% IF ( CAN_user_parameters_manage_accounts ) %] > <dt><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></dt> > <dd>Define debit types.</dd> > [% END %] >- [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_cash_management_manage_cash_registers ) %] >+ [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) %] > <dt><a href="/cgi-bin/koha/admin/cash_registers.pl">Cash registers</a></dt> > <dd>Define cash registers</dd> > [% END %] >-- >2.20.1
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 24481
:
97731
|
97734
|
97738
|
97739
|
97740
|
97741
|
97756
|
97757
|
97758
|
97759
|
97760