diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-11-09 09:21:00 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-11-09 09:21:00 +0000 |
commit | 336dd18700f860e49d0be29fe6043e9c25c69043 (patch) | |
tree | 723531a22272a9be802c212e147211ef3c57c53c /modules | |
parent | 422f85d80792e1f64a5c7e30418a64e4b364afa5 (diff) | |
download | brdo-336dd18700f860e49d0be29fe6043e9c25c69043.tar.gz brdo-336dd18700f860e49d0be29fe6043e9c25c69043.tar.bz2 |
- Patch #136970 by catch and wmostrey: added permission to administer contact forms (usability improvement).
Diffstat (limited to 'modules')
-rw-r--r-- | modules/contact/contact.module | 4 |
1 files 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( |