There is a permission configured by the base permission provider for accessing the overview page/collection route, but it's not used at the moment. This means admin users must either be promoted to the "administer profiles" permission, which might be too much and not granular, or denied access to the collection route.

Similar to #2920932: The "Access the shipping methods overview page" permission is unused on Commerce Shipping.

Comments

bradjones1 created an issue. See original summary.

akash.addweb’s picture

Status: Needs review » Needs work
StatusFileSize
new10.58 KB

@bradjones1, I tried to check your patch but I'm unable to test it as it throws me an error which shown in the screenshot.

bradjones1’s picture

Status: Needs work » Needs review

@Ronak.addweb that's not an error, and regardless check that you're on -dev instead of a release, possibly.

akash.addweb’s picture

Status: Needs review » Needs work
StatusFileSize
new117.58 KB
new52.12 KB

@bradjones1, I checked it locally & using simplytest.me also PFA in that I mentioned the screenshots of simplytest.me.

bradjones1’s picture

Status: Needs work » Needs review
StatusFileSize
new409 bytes

The fuzz shoudln't result in a patching error but here's an updated one.

Status: Needs review » Needs work

The last submitted patch, 5: 2956241-profile-overview-5.patch, failed testing. View results

bradjones1’s picture

Status: Needs work » Needs review
StatusFileSize
new428 bytes

Appeasing the test with an OR permission check.

Status: Needs review » Needs work

The last submitted patch, 7: 2956241-profile-overview-7.patch, failed testing. View results

bradjones1’s picture

Status: Needs work » Needs review
StatusFileSize
new428 bytes

Actually OR is +

maaty388’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm that patch is working

  • mglaman committed 39504a5 on 8.x-1.x authored by bradjones1
    Issue #2956241 by bradjones1, Ronak.addweb: Use overview permission for...
mglaman’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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