diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-02-20 13:46:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-02-20 13:46:43 +0000 |
commit | 584f3e886a7c9850d53fedaab2c8f3d0249bda10 (patch) | |
tree | 8a089ab394e25f3703e9e47912ca242e0550be5d /modules/comment/comment.module | |
parent | 8e0d6b4690866b3dd39bd4128e9845d9fb79b6fc (diff) | |
download | brdo-584f3e886a7c9850d53fedaab2c8f3d0249bda10.tar.gz brdo-584f3e886a7c9850d53fedaab2c8f3d0249bda10.tar.bz2 |
- Patch #30984 by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 7 |
1 files changed, 6 insertions, 1 deletions
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.'), + ); } /** |