Skip to content
Snippets Groups Projects
Commit 09f39ea0 authored by Tim Steiner's avatar Tim Steiner
Browse files

Prevent people from giving permissions to anonymous users via TAC

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@192 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent f6debf70
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,9 @@ function tac_admin($form, $form_state, $rid = NULL)
}
foreach (user_roles() as $rid => $role) {
if ($rid == DRUPAL_ANONYMOUS_RID) {
continue;
}
$subform = array(
'#theme' => 'tac_term_list',
'#title' => 'Permissions for role "' . $role . '"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment