Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
188b2308
Commit
188b2308
authored
May 10, 2009
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#78941
by kkaefer, Jody Lynn: auto-check permissions if 'authenticated' has them.
parent
bfecaa09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/user/user.admin.inc
modules/user/user.admin.inc
+2
-0
No files found.
modules/user/user.admin.inc
View file @
188b2308
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment