Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
block displays
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2009 at 16:14 UTC
Updated:
11 May 2009 at 21:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
jmiccolis commentedIt looks like my original patch was doing more work that it needed to. Simpler patch attached.
Comment #2
merlinofchaos commentedHmm. $view->access() is already being tested in views_block prior to the execute_display() call there. In general I've preferred keeping access tests external, though for pages they became internal so that we could have multiple displays with the same path and it needed to move into the view for that. I don't see why we should check twice.
Comment #3
jmiccolis commentedYep, I stand corrected. Thanks.