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.
When viewing the main permissions page, the permissions are collapsed properly.
But, when viewing a specific role they are not collapsed.
Comment | File | Size | Author |
---|---|---|---|
#6 | permissions_collapse_on_role_page-2346465-6.patch | 621 bytes | Anonymous (not verified) |
#1 | permissions_collapse_on_role_page-2346465-1.patch | 709 bytes | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedHere's a quick patch for this.
Comment #2
jaylotta CreditAttribution: jaylotta commentedThanks for the quick response.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedNo problem; glad it's working for you.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #5
Dave ReidI think this could be simplified by just using
if (strpos($_GET['q'], 'admin/people/permissions') === 0)
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedGood idea; here's the revised patch, now against
7.x-3.x
.Comment #7
truls1502I am sorry for no reply until now.
There are many issues regarding this module admin_menu which is a bit difficult for us to follow up since some of the issues might be already outdated, or is already fixed by the module or any other modules or itself core which means that the problem might no longer need to be fixed.
We can see that the issue has been created for a few years ago, I hope it is okay for you that I am postponing the issue, and give you around two weeks. If you still face the problem, could you tell us the step by step when until you get the error message or what is frustrated you, and a list of modules you are using related to admin_menu and a screenshot that might help us? So it makes us easier to reproduce your issue.
However, after two weeks with no feedback - we will close this issue. So in case, you noticed it after the issue is closed, do not hesitate to reopen it like and fill information which is mentioned above.
So before giving us a feedback, do you mind to test it again with our latest 7.x-3.x-dev?
Thank you for understanding! :)
Comment #8
joelpittetThis does what it says on the tin, I use
filter_perms
so I don't use this but did try it out to see what it did.Example this role filtered permissions page doesn't collapse by group as it does the full list:
https://site.test/admin/people/permissions/2
https://site.test/admin/people/permissions
Comment #9
truls1502Comment #11
truls1502It has been committed and fixed now.
Thank you everyone :)