diff --git a/panels.module b/panels.module index cf3a73e..1da5e9d 100644 --- a/panels.module +++ b/panels.module @@ -805,6 +805,13 @@ class panels_display { return FALSE; } + // Dirty hack: we don't care about fine grained panel permissions on this + // site, just grant anyone with the panel permission access. Temporary + // solution until https://www.drupal.org/node/2785915 is fixed. + if (user_access('administer panels layouts', $user)) { + return TRUE; + } + if (empty($this->storage_type) || empty($this->storage_id)) { return FALSE; }