If I visit a panelizered node, and I have permission to change content, but not the layout, then the IPE does not show.

The problem is with the recent change from #2823912: Panelizer's permissions don't play well with IPE permissions the logic in that patch is just a little off.

Comments

dalin created an issue. See original summary.

dalin’s picture

Assigned: dalin » Unassigned
Status: Active » Needs review
StatusFileSize
new645 bytes
bneil’s picture

Status: Needs review » Reviewed & tested by the community

The patch in #2 works as expected.

Before the patch, if a user had "Use the Panels In-Place Editor" without "Change layouts with the Panels In-Place Editor", the IPE would not show. After the patch, it does show with the "Customize this page" button.

damienmckenna’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs tests

Lets add some tests for this.

damienmckenna’s picture

StatusFileSize
new4.88 KB

Yeah, the permissions are way off, as highlighted by removing the "administer panelizer" permission on the tests.

damienmckenna’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 6: panelizer-n2835582-6.patch, failed testing.

damienmckenna’s picture

Status: Needs work » Needs review
StatusFileSize
new5.7 KB

The two patches together.

Status: Needs review » Needs work

The last submitted patch, 9: panelizer-n2835582-9.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

damienmckenna’s picture

The tests are failing because of CTools.

damienmckenna’s picture

Status: Needs work » Needs review

  • DamienMcKenna committed eab5f4d on 7.x-3.x authored by dalin
    Issue #2835582 by DamienMcKenna, dalin, bneil: IPE is only showing if...
damienmckenna’s picture

Status: Needs review » Fixed

Committed. Thanks.

Status: Fixed » Closed (fixed)

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