Download & Extend

panels_views_menu uses $access variable that isn't set

Project:Panels
Version:5.x-2.0-beta3
Component:Views panes
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Simpletest uncovered this bug on lines 72 and 79. I'm not sure what $access should be set to.

Comments

#1

Should be user_access('administer panel views')

#2

Status:active» reviewed & tested by the community

Patch attached

AttachmentSize
245427.patch 699 bytes

#3

Status:reviewed & tested by the community» fixed

The very next menu item has the same problem too. I switched things around, though, and just stored the call to user_access() in $access instead. Thanks.

#4

Status:fixed» closed (fixed)

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