Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hey
there are a lot of permission UI modules around. naming some:
filter_perms
permission_select
check_heavy_ui
allperms
better_perms
are there plans to merge them together?
filter_perms could get some functionality from this module: module_filter
and what about a D7 port?
Comments
Comment #1
lpalgarvio CreditAttribution: lpalgarvio commentedplease consider merging to the Util module. http://drupal.org/node/902986
it is compatible with the other Util submodule, the permission fieldsets.
Comment #2
cYu CreditAttribution: cYu commentedThere will be a D7 port, I have no plans of merging in functionality of the other modules described. Regarding inclusion with Util, you can reference the issue in Util queue: #902986: merge drupal_tweaks with util module
I like that this module performs a simple and useful function. Without installing any of them, it appears that permission_select, check_heavy_ui, and allperms try to do checkbox select all type behavior, which is unrelated to what this module aims to do. better_perms allows collapsing fieldsets, which while compatible with this module is not really needed when filtering down to single or minimal fieldsets to begin with.
I'll leave this issue open for tracking Drupal 7 port progress.
Comment #3
lpalgarvio CreditAttribution: lpalgarvio commentedpossibly the best approach for the permissions page, would be to follow module_filter path:
- have permissions groups listed as tabs (like in vertical tabs)
- include "View All" permission groups tab
- default to show first the first tab, not view all (to avoid slow page load)
- include filter permission, both in the form of filter_perms method (by group/role)...
- and by autocomplete if possible
- permissions groups show on the left, permissions on the right
- check boxes show as they show now, with check all boxes provided above them (applied to the current tab or filter)
that would be basically a 3-4 module in 1 if properly done :)
Comment #4
cewolcott CreditAttribution: cewolcott commentedDo you have any status on when a Drupal 7 version would be redy for testing?
Comment #5
klonos...subscribing
Comment #6
mehtatejas CreditAttribution: mehtatejas commentedsubscribing
Comment #7
agerson CreditAttribution: agerson commentedsubscribing
Comment #8
klonosComment #9
cYu CreditAttribution: cYu commentedI've committed code for D7 and given some basic testing. A big mess in D6 was that the permissions table had a comma delimited list of all permissions for each role in 1 row...so trying to preserve these when only partial lists of permissions were being submitted took some scary code in a custom submit handler of the permissions form.
In the D7 version I don't have a custom submit handler at all and a form of partial roles and permissions appears to just work. That said, please test with care and not on a production site and please open up new issues for any bug reports and such. And if anyone happens to be a simpletests pro, I'd be very appreciative if someone could help start that out for this project.
Comment #10
klonosThanx Chris ;)