Hi. I'm using tac_lite very successfully to offer content only to the people I want to see it. It's a good system, just what I need.

Now I want to restrict some content to only anonymous users. This is useful for promotional materials ("Join Us") that members don't need to see. So:

  1. In my Access restrictions taxonomy, I create a new term, "Anonymous".
  2. In admin/user/access/tac_lite/scheme_1, I associate the term Anonymous with anonymous users. No other users are associated with it.
  3. At the "Join Us" page, under Access restrictions I set Anonymous.

With this setup, only unauthenticated users should be able to see the Join Us page. But it doesn't work: all users can see it.

Can it be that tac_lite gives all users permission to see anything that anonymous users can see?

Thanks,
Andrew.

Comments

Dave Cohen’s picture

Status: Active » Postponed (maintainer needs more info)

Try not tagging the content at all. Can all users still see it? If so, it's some other module or permission which is granting access. Could be it's Drupal's access content permission. You might need to introduce a new content type which by default noone can read.

tac_lite uses drupal's node_access features. So it does not hide content from anyone, it only grants access they otherwise would not have. If hook_access or another node_access module allows access to the node, tac_lite does not hide it.

Andrew Schulman’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Dave, thanks. You're right of course. The users I looked at all had the "administer nodes" permission, which allowed them to see all content. Other users without that permission can't see it. So my report was incorrect, and the symptom I observed was not at all tac_lite's doing.

I'm closing this report now.
Thanks,
Andrew.

valuebound’s picture

Project: Taxonomy Access Control Lite » File Access
Version: 6.x-1.2 » 6.x-1.x-dev

Hi,
Thanks for information.I am able to completely hide the information from the anonymous user. But actually what i need is to restrict access to a file
means,

i have a download link when user clicks on it, it should start download to registered user and it should ask for signup for anonymous user.

Can you please help me on this issue...
Thankyou