I created a view of an existing Page. My intention is that only authenticated users should be able to see this page.

When I create my view, I leave anonymous users unchecked. Under Access Control, I have "access all views" unchecked for anonymous users. For a filter, I added the "Node: Published" filter only.

However, anonymous users can still access the page.

Any hints as to what I am missing?

Thanks,

Mike

Comments

leeksoup’s picture

Just guessing .. but did you leave all boxes unchecked in your view's access list? If so, it is accessible to all users, i.e.

Only the checked roles will be able to see this view in any form; if no roles are checked, access will not be restricted.

m.roma’s picture

No, only the anonymous users box is unchecked.

-Mike

bdornbush’s picture

I just found the same thing. I have the same need, and checked the Authenticated User box, but when I view the site as an anonymous user, I can see the view.

m.roma’s picture

Category: support » bug

I think this is more of a bug than a support request now. I've done alot of exploring, and can't seem to find an answer.

-Mike

catch’s picture

Status: Active » Postponed (maintainer needs more info)

Do you have page caching enabled? Does truncating the cache_page table help?

manal’s picture

Status: Postponed (maintainer needs more info) » Active

same thing happening with me.

I have a view that I only want users of role admin to have access to it, so I checked the admin role under the view access list, but what happens is anonymous cant access it but any authenticated user can.

catch’s picture

Status: Active » Closed (duplicate)

http://drupal.org/node/209933

I think this issue explains your problem.