(the name is not set in stone; it may be inappropriate to name a module after a version of Drupal, even if it is somewhat applicable as in this module)
The D7Permissions module aims to port some of the useful functionality that has been included in the Drupal 7 roles and permissions system into Drupal 6.
After enabling the module, you can specify the order of roles on a revised permissions page via a drag-and-drop interface. Additionally, this page includes minor updates such as displaying all roles (aside from anonymous) as "checked" when a permission has "authenticated user" checked.
I have not been able to find any modules (for Drupal 6 at least) that provide this functionality. It's very useful for websites with a lot of roles and long permissions pages to deal with.
The functions that build and submit the "set permissions" form were adopted from the core User module and are largely untouched. This seemed the most secure solution.
The jQuery code that performs the "dummy checkbox" function has been ported from Drupal 7. This script requires jQuery 1.3.x+, thus this module's dependancy on the jQuery Update module.
This module requires the "administer permissions" permission to use any of its features. The code shown at the link below has passed the Coder review without any errors.
You can view an example of the module here: http://sandbox.csdesignco.com/?q=admin/user/d7permissions
(username: drupal, password: drupal)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | d7permissions.zip | 5.25 KB | charlie-s |
| #1 | d7permissions.zip | 5.25 KB | charlie-s |
Comments
Comment #1
charlie-s commentedModule attached.
Comment #2
charlie-s commentedThe file attachment link on the previous post is bad.
Comment #3
charlie-s commentedLooking for community interest here: http://drupal.org/node/1024736
Any ETA on review?
Comment #4
avpadernoHello, and thank you for applying for a CVS account.
I am adding the review tags, and some volunteers will review the code, reporting what needs to be changed.
Comment #5
charlie-s commentedI have had a few people ask about this module; looking for an update if anyone has the time to donate.
Comment #6
arianek commentedHi. Please read all the following and the links provided as this is very important information about your CVS Application:
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:
Migrating from CVS Applications to (Git) Full Project Applications
Comment #7
charlie-s commentedSandbox project page: http://drupal.org/sandbox/csdco/1079042
Comment #8
mlncn commentedUnless i am very confused, there must have been some other issue open in which csdco got project promotion powers, as http://drupal.org/node/1079042 is a full project. Congrats :-)