Checkall not working on /admin/user/permissions form
kepol - March 2, 2009 - 19:19
| Project: | Checkall |
| Version: | 6.x-2.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
I added #checkall => true for the /admin/user/permissions and it doesn't appear to work. The check/uncheck options are showing up at the bottom of the page but don't do anything. I checked that the .js and .css are in the source. I'm not sure how to debug.
| Attachment | Size |
|---|---|
| checkall-user-perms-screenshot.png | 21.82 KB |

#1
I think this is beyond the scope of this module which is merely a solution for checkboxes elements that are rendered as a whole.
The user permissions panel contains a checkboxes element for each role, but then each checkbox is rendered individually in the theme function.
To add a check/uncheck all effect to this panel, it would have been done with the provided tableSelect behavior in Drupal core, but I guess it was not done because permissions need to be assigned with care.
I believe there's a contrib module that allows you to assign all permissions by default to one particular role, that would be a super admin kind.