Here's a patch that adds a 'title' tag to all of the checkboxes in the admin/access grid. When you roll over the checkboxes in most browsers a tool-tip box will pop up with information about what each checkbox is.
Examples:
"anonymous user : edit own blog"
"authenticated user : post comments"
"admin : administer filters"
On a site with many roles and many modules, it becomes very easy to scroll away from the table headers, so this is essential for figuring out what you're clicking. It doesn't solve all of the admin/access page usability problems, but it does make the page a lot more usable.
Little patch. Big help.
-Jeff
Comments
Comment #1
dries commentedCoding style needs work (incorrect use of spaces). Shouldn't these strings be translatable?
Comment #2
jjeff commentedThis should be better.
By 'incorrect use of spaces', do you mean spacing around the array keys and values? I've fixed that and the $perm (permission) value now gets translated. Role names aren't translated elsewhere on the admin/access page, so I've left $name (role name) untranslated.
-Jeff
Comment #3
morbus iffComment #4
jjeff commentedAnyone want to review my code?
Thanks,
Jeff
Comment #5
m3avrck commentedRerolled patch against current HEAD. Looks good to me and seems to be pretty useful :)
Comment #6
Bèr Kessels commentedchanged spaces. And created http://drupal.org/node/30785.
Comment #7
moshe weitzman commentedlets push this one line beauty to 'ready for commit'
Comment #8
jjeff commentedThank you Moshe!
Comment #9
dries commentedCommitted by HEAD.
Comment #10
dries commentedComment #11
(not verified) commentedComment #12
jjeff commentedLooks like this functionality got destroyed during the formapi upgrade.
Comment #13
moshe weitzman commentedi put this feature into my patch at http://drupal.org/node/44379. if mine fails, then resubmit this one alone. required a tiny change to theme_user_admin_perm(). here is the changed line (see end):
$row[] = array('data' => form_render($form['checkboxes'][$rid][$key]), 'align' => 'center', 'title' => $key);