Closed (won't fix)
Project:
Panels
Version:
6.x-2.0-alpha2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2008 at 10:18 UTC
Updated:
16 May 2009 at 02:16 UTC
The tab-links "Panel layout settings" and "Panel content" is visible for all authenticated users. I've looked at the source code and there is no access control on those links. Is it possible to remove them in some way?
Comments
Comment #1
sunComment #2
liquidcms commentedi don't see this for all roles, but i do see it for some even though no permissions granted to that role.
not sure why still open this long; setting to critical as module is unusable if users can go in and edit site layout.
Comment #3
merlinofchaos commentedI quickly glanced over the code, and there *is* access control on this, and it calls through to Drupal's node_access() function. This can only happen if the user in question actually has the ability to edit the node. In this case, it's not Panel's fault.