diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-03-21 21:20:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-03-21 21:20:43 +0000 |
commit | 25feb96f6dd5d5f1a73249a6f63354537db58fd2 (patch) | |
tree | d9528d316a10ed4328675fd52eeb55f74395ac10 /modules/node | |
parent | 9b8c393d4ef0883d8e1bb0d2c7059c52a8ad4fe1 (diff) | |
download | brdo-25feb96f6dd5d5f1a73249a6f63354537db58fd2.tar.gz brdo-25feb96f6dd5d5f1a73249a6f63354537db58fd2.tar.bz2 |
- Patch #248598 by David_Rothstein, pwolanin, aspilicious: improved warning about dangerous permissions.
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.module | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index f91e63e92..58c0b9a30 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1410,11 +1410,11 @@ function node_permission() { $perms = array( 'administer content types' => array( 'title' => t('Administer content types'), - 'description' => drupal_placeholder(array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))), + 'restrict access' => TRUE, ), 'administer nodes' => array( 'title' => t('Administer content'), - 'description' => drupal_placeholder(array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))), + 'restrict access' => TRUE, ), 'access content' => array( 'title' => t('View published content'), @@ -1424,7 +1424,8 @@ function node_permission() { ), 'bypass node access' => array( 'title' => t('Bypass content access control'), - 'description' => t('View, edit and delete all content regardless of permission restrictions. %warning', array('%warning' => t('Warning: Give to trusted roles only; this permission has security implications.'))), + 'description' => t('View, edit and delete all content regardless of permission restrictions.'), + 'restrict access' => TRUE, ), 'view revisions' => array( 'title' => t('View content revisions'), |