I am using 6.2.1.
I created several views. They were all accessible via page URL by everyone.
All of sudden, now only admin can see these views. I played with all the view related permissions to no avail. I don't believe those permissions control the view access anyhow.
So what is causing the problem?
Any help is greatly appreciated. thx.
Comments
Comment #1
newbuntu commentedI managed to "rebuild permissions" (admin/content/node-settings/rebuild), the views came back. I am not sure what caused the permission problems.
This whole incident reminds me of a question: if I want to control view permissions, how can I do it? I wonder if views don't have separate permissions. It is determined by the underlying node permissions.
Comment #2
merlinofchaos commentedYour post is very confusing. Rebuilding permissions rebuilds access to the nodes, which has nothing to do with access to the view itself. There is an 'access' field on the view, and it determines whether or not the view can be accessed. (This is a boolean. You can or you cannot). The data accessed BY the view is determined by the query, which is rewritten by core to exclude nodes you do not have access to.
Your first post and second post do not match, and I suspect it's because when you talk about access to the view, you're talking about access to the content the view shows, which is a *very* different thing.
Comment #3
newbuntu commentedThanks for answering my post.
I can understand my posts are confusing. In fact, I'm confused too. Besides the actual underlying problem, just the words "view" and "access" alone can cause confusion, because they are such commonly used words to describe everything and yet they are key words of the discussion. Like I want to view a view :(
In any event, let me try if I can clearly state a question regarding view access.
1. I wonder if I can set "permission" on individual views. Say, I have a view with URL /drupal/myview. Can I set permission on this view, so only only certain roles can "see" (instead of saying view ;) it?
2. I still believe permission on views may be related to the underlying node permissions. Let's say "myview" consists of a bunch of nodes (let's say these nodes are profiles), if a user doesn't have permission to see these nodes, I suspect nothing will show up when the user try to access the view.
Comment #4
michellepurestock commentedHello. I am having the same issue. I created a few views of my own. Then upgraded to 6.x 2.1 and now only ADMIN or user/1 can see the views even though access is set to unrestricted.
Permissions to content seems to be in order. Nothing really changed except for the upgrade to 6.x 2.1. I did run update.php as well.
Comment #5
newbuntu commentedtry reset permissions admin >> content >> post settings >> rebuild permissions
or go directly "admin/content/node-settings/rebuild"
it may help.
Comment #6
michellepurestock commentedWorked. thank you!
Comment #7
merlinofchaos commentedubuntu: YOu can certainly change who can see the view itself by clicking 'Access', selecting 'Role' and selecting the list of roles you would like to see the view. Then save the view.
Comment #8
newbuntu commentedThanks a lot. It was my bad, that option was there, I didn't see it for a long time.
Comment #10
ukcowboy282 commentedMy drupal forum has just become totally useless. Only admin can access any forum, users are getting the acces denied message and resetting permissions does not fix this.
I am pretty sure it was a reset permission message that caused this after i upgraded a module (IM)
Can someone please tell me how to fix this , I can access as admin but no users can not matter what permissions i give them.
Comment #11
michelle@ukcowboy282: Drupal forums to not use views, you're in the wrong queue for that. It sounds like you have a wayward access control module. You might want to try posting a support request in the queue of whatever you are using for access control.
Michelle