From 584f3e886a7c9850d53fedaab2c8f3d0249bda10 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 20 Feb 2008 13:46:43 +0000 Subject: - Patch #30984 by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page. --- modules/comment/comment.module | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index faf77f741..2eb985559 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -271,7 +271,12 @@ function comment_node_type($op, $info) { * Implementation of hook_perm(). */ function comment_perm() { - return array('access comments', 'post comments', 'administer comments', 'post comments without approval'); + return array( + 'access comments' => t('View comments attached to content.'), + 'post comments' => t('Add comments to content (approval required).'), + 'post comments without approval' => t('Add comments to content (no approval required).'), + 'administer comments' => t('Manage and approve comments, and configure comment administration settings.'), + ); } /** -- cgit v1.2.3