I'm buiding a site for a community. No content can be seen by anonymous but a few.
I tried content_access but when I grant read access to anonymous at the node type level, or at the node level, anonymous can't see the granted content.
Does anyone encounter the same problem ?
Do I miss something ?
I have no other access control module on my site.

Thanks for your help.

Comments

salvis’s picture

Give 'access content' permission to anonymous.

davidgibbens’s picture

content_access looks kind of nice and simple. I currently use Taxonomy Access Control which definitely does do what you want as I use it all the time. But it sometimes feels like a sledgehammer to crack a nut. So I am curious to know whether this apparently simple suggestion worked or not. It is a problem imho that anonymous is not a role when it comes to things like this.

prunelle’s picture

Giving "content access" at the node administration level, to the anonymous role, and then, using the content_access module, to restrict the access to specific nodes or node types, for the anonymous role, actually works for me.

TimAlsop’s picture

This only works for nodes. I am using blocks, and if I set a block to be accessed only by authenticate user, this works perfectly. If I set the block so that it can been seen by anoymous users, it is not visible when nobody is logged into the site. Since there is no "block access content" like there is a "access content" for node content, this "fix" is not possible. I feel the code needs to be changed to make anonymous work correctly.

good_man’s picture

Status: Active » Closed (works as designed)

Closing it as 5.x is not supported anymore.