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.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | panelizer-n2835582-9.patch | 5.7 KB | damienmckenna |
| #6 | panelizer-n2835582-6.patch | 4.88 KB | damienmckenna |
| #2 | panelizer-ipe-permissions-2835582-2.patch | 645 bytes | dalin |
Comments
Comment #2
dalinComment #3
dalinComment #4
bneil commentedThe 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.
Comment #5
damienmckennaLets add some tests for this.
Comment #6
damienmckennaYeah, the permissions are way off, as highlighted by removing the "administer panelizer" permission on the tests.
Comment #7
damienmckennaComment #9
damienmckennaThe two patches together.
Comment #11
damienmckennaThe tests are failing because of CTools.
Comment #12
damienmckennaComment #14
damienmckennaCommitted. Thanks.