From aecf187d84d7e4d9ff5565f450ce3a42ad56da46 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 29 May 2012 11:30:28 -0400 Subject: [PATCH] Bug 8160 - Link to cataloging appears for users without cataloging permission Content-Type: text/plain; charset="utf-8" This patch wraps cataloging links on the staff client home page and in the header menu with checks for edit_catalogue OR edit_items permission. To test, access the staff client as a user with various permissions. The "cataloging" link on the main page and in the header menu should only appear to a user with edit_catalogue permission, edit_items permission, or both. --- .../intranet-tmpl/prog/en/includes/header.inc | 2 +- .../intranet-tmpl/prog/en/modules/intranet-main.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index 4783523..3d71d45 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -16,7 +16,7 @@