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
Should be user_access('administer panel views')
#2
Patch attached
#3
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
Automatically closed -- issue fixed for two weeks with no activity.