From 336dd18700f860e49d0be29fe6043e9c25c69043 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 9 Nov 2007 09:21:00 +0000 Subject: - Patch #136970 by catch and wmostrey: added permission to administer contact forms (usability improvement). --- modules/contact/contact.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/contact/contact.module b/modules/contact/contact.module index cfcb1ce53..0a9151e5f 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -35,7 +35,7 @@ function contact_help($path, $arg) { * Implementation of hook_perm */ function contact_perm() { - return array('access site-wide contact form'); + return array('access site-wide contact form', 'administer site-wide contact form'); } /** * Implementation of hook_menu(). @@ -45,7 +45,7 @@ function contact_menu() { 'title' => 'Contact form', 'description' => 'Create a system contact form and set up categories for the form to use.', 'page callback' => 'contact_admin_categories', - 'access arguments' => array('administer site configuration'), + 'access arguments' => array('administer site-wide contact form'), 'file' => 'contact.admin.inc', ); $items['admin/build/contact/list'] = array( -- cgit v1.2.3