- Patch #78941 by kkaefer, Jody Lynn: auto-check permissions if 'authenticated' has them.

merge-requests/26/head
Dries Buytaert 2009-05-10 19:16:03 +00:00
parent bfecaa09c9
commit 188b23087a
1 changed files with 2 additions and 0 deletions

View File

@ -599,6 +599,8 @@ function user_admin_perm($form_state, $rid = NULL) {
}
$form['submit'] = array('#type' => 'submit', '#value' => t('Save permissions'));
$form['#attached_js'] = array(drupal_get_path('module', 'user') . '/user.permissions.js');
return $form;
}