With the goal of having all permissions checked, if I select the single checkbox directly under a role's name in the header and click 'Save permissions' nothing changes. None of the permissions are checked for that role. Am I missing something? I thought this was the way to have all permissions enabled for a particular role. Tried with Drupal 7.25 with up to date (2015-03-27) versions of Firefox, Safari and Chrome, and all gave the same results, or rather lack of results. Any help would be greatly appreciated.

Thanks.

Comments

rajmataj’s picture

Have also tried the 7.x-2.6+1-dev version of this module for release 2014-Oct-15, but still no results.

corey.aufang’s picture

You might need to wait for the JS to go through and check the boxes before clicking "Save Permissions".

The checkbox in the column header directly under the role name toggles the checked status of all permission checkboxes underneath.

Permission checkboxes that are not checked will not be saved.

If it takes a long time for all permissions to be checked, I would suggest limiting the visible roles to just those you wish to toggle. Less rendered elements helps with DOM traversal when using the header checkboxes.

rajmataj’s picture

Status: Active » Closed (works as designed)

Thanks for the follow up. I'll mark this as closed.

scotwith1t’s picture

Status: Closed (works as designed) » Active

Sorry, I still don't think this works...I am using this module (as many do, I believe) in conjunction with filter_perms, not sure if that's relevant, but even if i have the permissions filtered down to only 1 module's worth (say admin_menu, which has 3 permissions available), checking the box under the role does nothing...I tried poking around in the js (the non-minimized version isn't used, so why is it in the codebase? no option to use that for debugging?), i found nothing that stuck out to me...

scotwith1t’s picture

Just to make sure, I disabled the filter_perms module and no change. Also of note is that there are NO js errors thrown, just nothing happens...using Seven admin theme.

caspervoogt’s picture

Same here, but on the D8 branch. No other perms-related modules in place.

caspervoogt’s picture

StatusFileSize
new3.09 KB

Here's a patch. Tested and working for me on D7. I made a D8 one too, here.

caspervoogt’s picture

Status: Active » Needs review
oranges13’s picture

So this is really weird. I have a multisite set up, and WITHOUT THE PATCH the select all boxes are working for this module on the main site. On the child sub-site, the select all boxes are not working. But it's the same module folder /sites/all/modules/fpa for both sites and I'm hesitant to apply a patch when it's working on one site. What gives?

caspervoogt’s picture

oranges13, do the subsites use the same admin theme as the main site? Maybe the subsites have some differences in terms of which modules are enabled/disabled?

oranges13’s picture

Both are using Adminimal theme. If anything, the main site has far more modules enabled.

caspervoogt’s picture

@oranges13, I don't know what to tell you.. for me FPA did not work without this patch.

jordan8037310’s picture

@caspervoogt - That patch has extra diff from other projects. It also looks like a diff from your project root and not the fpa module's root.

caspervoogt’s picture

StatusFileSize
new1.8 KB

@jordan8037310 here's a modified patch. I haven't tested this updated one but it ought to work.

caspervoogt’s picture

jordan8037310’s picture

@caspervoogt - The patch is still malformed. Top hunk is the same as lower hunk. You're deleting the hunk of code you are trying to apply. Probably would work if top hunk is removed.

caspervoogt’s picture

StatusFileSize
new883 bytes

Oops. Try this

caspervoogt’s picture

astonvictor’s picture

Status: Needs review » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.