This is a convenience enhancement.

When managing profile types, especially when creating a new type, it's important to set the permissions for profile types correctly.

This patch adds an action button to the Profile Types admin page which opens the User Permissions admin page, filtered for Profile Type permissions only.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RickJ created an issue. See original summary.

RickJ’s picture

Status: Active » Needs review
FileSize
857 bytes

Patch

krina.addweb’s picture

FileSize
33.33 KB
33.13 KB

@RickJ, Thanks for the patch. I have tested the patch using simplytest.me. It has Manage Permissions link over Configure page which redirects to the Permissions page. PFA for the same. But can we redirect the link to the section where Profile 2 permissions are displayed?

RickJ’s picture

Thanks for pointing that out. I use the Filter-permissions module (I can recommend it!), and I coded the correct URL to show only the profile2 permissions when the filter module is installed. I hadn't realised that a module-specific link to permissions is different without that module (filter_perms tweaks the links from the modules list page).

Here's a version of the patch that behaves correctly depending on the presence or otherwise of filter-perms. Let me know if it checks out OK for you.

  • RickJ committed c95f44d on 7.x-1.x
    Issue #3072211 by RickJ, krina.addweb: Add an admin button to link to...
RickJ’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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