Closed (works as designed)
Project:
Views (for Drupal 7)
Version:
5.x-1.6
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Feb 2008 at 11:51 UTC
Updated:
26 Feb 2010 at 17:18 UTC
For a site I want to disable access for anonymous users to all content except some views which I use as datasets in XML for Flash movies. I saw that it is not possible to grant access for those views to anonymous users if 'access content' is disabled. So the permission 'access all views' is not enough on itself. Is this observation correct ?
Comments
Comment #1
merlinofchaos commentedThis observation is correct.
The solution I can think of is to create a menu item and run views_build_view manually; while doing so, masquerade as another user (you can change global $user around but keep in mind that if you do not change it back you will have logged the current user in as this user. Do not use UID 1 here; create a safe user that has minimal extra access and use that).
Good luck!
Comment #2
Earwig commentedWould this be the cause of my issue, too? http://drupal.org/node/717242 I am getting a 10 item limit on my XML feed display when not authenticated. I can't find any way to change the number of items for anonymous users, it simply seems to be defaulting to 10. When a browser is authenticated, I get the whole list.