panels_views_menu uses $access variable that isn't set

douggreen - April 11, 2008 - 13:08
Project:Panels
Version:5.x-2.0-beta3
Component:Views panes
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

#1

merlinofchaos - April 16, 2008 - 08:26

Should be user_access('administer panel views')

#2

douggreen - May 3, 2008 - 20:47
Status:active» reviewed & tested by the community

Patch attached

AttachmentSize
245427.patch 699 bytes

#3

sdboyer - May 9, 2008 - 06:49
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

Anonymous (not verified) - May 23, 2008 - 06:51
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.