It looks like a patch committed in 2016 missed updating a styles permission conditional. This causes the "Style" dropdown to not be available to users.

Have been trying to figure out for the longest time why admins with the "Administer Panels pane styles" permission do not have access to the "Style" dropdown in the Panels admin.

The problem is in the patch added for more granular style permissions (https://www.drupal.org/project/panels/issues/2329419). It missed one of the locations where an update is needed.

Please review the attached patch, thank you.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ron_s created an issue. See original summary.

ron_s’s picture

This still works with the newest 7.x-3.10 release. Please review, thanks.

joelpittet’s picture

Thanks again @ron_s, I've committed this to dev

  • joelpittet committed f227406 on 7.x-3.x authored by ron_s
    Issue #3007506 by ron_s: Style permissions change missed updating a...
joelpittet’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

joelpittet’s picture