@@ -, +, @@ permission - create a patron with only the catalogue and clubs permissions - log in to the staff client as that patron - navigate to a patron record, confirm you can see the Clubs tab in the patron account, can add patrons to and remove patrons from clubs - confirm you don't have a link to the Tools module either on the Koha homepage or in the More menu - enter the clubs URL manually (/cgi-bin/koha/clubs/clubs.pl), confirm you are allowed to open the page - Apply patch - The only changes should be: - You can now see the Tools entry in the More navigation menu - You can now see the Tools module link on the start page - Both take you to the tools page, only visible tools is 'Patron clubs' --- koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt | 2 +- tools/tools-home.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -55,7 +55,7 @@ [% IF ( CAN_user_suggestions_suggestions_manage ) %]
  • Suggestions
  • [% END %] - [% IF ( CAN_user_tools ) %] + [% IF ( CAN_user_tools || CAN_user_clubs ) %]
  • Tools
  • [% END %] [% IF ( Koha.Preference('EnablePointOfSale') && Koha.Preference('UseCashRegisters') && CAN_user_cash_management_takepayment ) %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -156,7 +156,7 @@ [% END %] - [% IF ( CAN_user_tools ) %] + [% IF ( CAN_user_tools || CAN_user_clubs ) %]
  • Tools
  • --- a/tools/tools-home.pl +++ a/tools/tools-home.pl @@ -29,7 +29,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "tools/tools-home.tt", query => $query, type => "intranet", - flagsrequired => { tools => '*' }, + flagsrequired => [ tools => '*', clubs => '*' ], } ); --