Here's a patch to add some more documentation to the "Allowed Roles" checkbox in the admin section of the module. Could someone please verify it for correctness?
--- /Users/hbf/downloads/nodeaccess/nodeaccess.module~ 2007-03-01 15:57:24.000000000 +0100
+++ /Users/hbf/downloads/nodeaccess/nodeaccess.module 2007-04-12 10:03:12.000000000 +0200
@@ -305,7 +305,8 @@
'#default_value' => variable_get('nodeaccess-priority', 0),
'#description' => t('If you are only using this access control module, you can safely ignore this. If you are using multiple access control modules, and you want the grants given on individual nodes to override any grants given by other modules, you should check this box.'));
- $form['role'] = array('#type' => 'fieldset', '#collapsible' => TRUE, '#collapsed' => TRUE, '#title' => t('Allowed Roles'), '#tree' => TRUE);
+ $form['role'] = array('#type' => 'fieldset', '#collapsible' => TRUE, '#collapsed' => TRUE, '#title' => t('Allowed Roles'), '#tree' => TRUE,
+ '#description' => t('Roles that can have access to nodes at all. Users in unchecked roles will not have any access to nodes.'));
foreach ($roles as $id => $role) {
$form['role'][$id] = array('#type' => 'checkbox', '#title' => $role, '#default_value' => $useroles[$id]);
}
This patch is also attached as a text-file.
Comments
Comment #1
Anonymous (not verified) commentedOk, I added a helpful note.
Comment #2
(not verified) commented