Closed (duplicate)
Project:
Content Access
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2011 at 09:30 UTC
Updated:
19 Sep 2011 at 03:39 UTC
Hi,
I just downloaded CA module and installed it successfully on drupal 6.22. This is the only module I have installed. When I am browsing a page whose content type is set to Anonymous and Authenticated (ie: boxes checked under "View any content type"), I don't have access to see the page when I am either logged in as a user or I am at the page anonymously. If only one of the two fields is checked for the content type of the page I am visiting, the page is visible to the user type whose view any content box is checked. Am I doing something wrong or is this a bug?
Comments
Comment #1
good_man commentedCan you explain what are these two fields?
Comment #2
jetatar commentedLet's say that I create a new 'Page' type content. The 'Access Control' settings of content 'Page' has several permission options, ie:
"View any page content":
- Anonymous User
- Authenticated User
If the boxes for both Anonymous User and Authenticated User are checked simultaneously, neither an anonymous user nor an authenticated user have permission to view the page created. If only one of the fields is checked (either Anonymous User OR Authenticated User) then that user group does indeed have access to the page.
I have pages which I want both an anonymous and an authenticated user to have access to. How do I do that?
Thank you.
Comment #3
good_man commentedI did exactly what you said, and it's working. Are you sure this issue is not from another module?
Comment #4
jetatar commentedI am confident. I make a new clean install of drupal 6.22 and the latest CA release version of 6.x-1.x-dev. I can provide you with admin login access to the clean install so you can verify.
Thank you very much again.
Comment #5
good_man commentedCan you install devel module and enable devel access submodule and give access of the dev information to auth. and anon. and then post back the devel access block results (devel access displays access info on a block in footer region)?
Comment #6
jetatar commentedThis is what I see on the front page when I am logged in as admin.
node_access entries for nodes shown on this page
node realm gid view update delete explained
Welcome content_access_all 0 1 0 0
Bubbles content_access_all 0 1 0 0
Wel content_access_all 0 1 0 0
asdf content_access_all 0 1 0 0
There are several pages which I know are promoted to front page status, and the page types are such that anon as well as auth. should be able to see, but as soon as I log out from admin, I get the welcome page I would see right after installation has been completed (as if I have not promoted my own front page).
Here is a link to the site with the installation:
https://atlasweb.ps.uci.edu/~arianna/drupal-6.22/
Comment #7
richH commentedHi,
I have exactly the same problem on D6. I've installed Content Access and ACL both of which are 6.x-1.x-dev. As admin I can see everything, but the anonymous user cannot see a thing. Only when I uncheck the access to a content type for authenticated users, can the Anonymous user see the content types.
Rich
Comment #8
jetatar commentedYep. Same here.
Comment #9
oriolo76 commentedOn D7 disabling the Content Access module allows accessing from anyone, but of course this is not a solution.
Still waiting for a very important patch.
Comment #10
oriolo76 commentedhere it is:
http://drupal.org/node/1213148
Comment #11
MichaelCole commentedComment #12
MichaelCole commentedComment #13
good_man commentedCommit reverted, please test it and tell me if it's fixed.
Comment #14
good_man commentedComment #15
Todd Young commentedIs this yet rolled into a DEV release?
Comment #16
gappleThis issue was caused by a commit for #239139: Do not hijack the 'all' realm, which has since been reverted and should be resolved by updating your module to the latest dev version.