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

lpalgarvio’s picture

please consider merging to the Util module. http://drupal.org/node/902986

it is compatible with the other Util submodule, the permission fieldsets.

cYu’s picture

Title: Similar modules and Drupal 7 port » Drupal 7 port
Assigned: Unassigned » cYu

There 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.

lpalgarvio’s picture

possibly 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 :)

cewolcott’s picture

Do you have any status on when a Drupal 7 version would be redy for testing?

klonos’s picture

...subscribing

mehtatejas’s picture

subscribing

agerson’s picture

subscribing

klonos’s picture

Title: Drupal 7 port » Port Filter permissions module to Drupal 7
Issue tags: +D7 porting, +port to d7, +d7 ports
cYu’s picture

I'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.

klonos’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Active » Fixed

Thanx Chris ;)

Status: Fixed » Closed (fixed)
Issue tags: -D7 porting, -port to d7, -d7 ports

Automatically closed -- issue fixed for 2 weeks with no activity.