Hello fellow Drupalians!

Issue:
I have a site which has some vocabularies. 1 vocabulary with 40 terms. Every term has alot of content/nodes.

I need to restrict access to the terms, every term has 1 role with some users in it. So every role must have read permissions for their specified role.

I tried the modules:
- TAC
- TAC_Lite

But I couldnt seem to get it to work. And yes i rebuilded the permiossons ;).

I only have to give Read permissions, nothing more, for these roles.

I hope I'm clear.. And I hope some hero can come to the rescue!

-Aeroniro

Comments

WorldFallz’s picture

Are you trying to restrict access to the terms themselves, or nodes tagged with the terms?

David.W’s picture

Good question!

The nodes ;)!

WorldFallz’s picture

Then taxonomy_access or tac_lite is what you want. you'll need to provide more info than 'they don't work' in order for anyone to help get them working.

David.W’s picture

Thanks for your time Word :) Here's more info.

I installed and tried both modules.

TAC: Installed -> Rebuilded permissions -> I enabled 1 term -> edited the permission settings to the corresponding role
No results.

TAC_Lite: Installed -> Rebuilded permissions -> Created 1 scheme -> gave view permissions to some roles with the corresponding term
No results though

Hope it's enough ;). I must have missed something? I also read the readme's, didnt help :(

gpk’s picture

>No results though
What are you expecting, and what do you see?

David.W’s picture

The result should be:

Group 1
- User x

Group 2
- User y

User x should be able to view a term like Project X

User y shouldnt have access to Project X

But both users have access, despite my configuration with these modules.

gpk’s picture

This does look like it should work ... unless you have given the users additional permissions under the node.module section, or via another module???

I've not used TAC_lite for a while and it took a moment or 2 to get my head round it, but I found the demo video quite useful.

If you remove Users x and y from their special roles do they still have access?

gpk’s picture

You might want to look also at Organic Groups module (OG), a "group" is slightly analagous to a term, but you also get a way of associating users directly with each group (a group is a container for content *and* for users), so avoiding having to have 1 role for each term. You can make content posted into each group "private" to that group's members by default, and you can make membership of each group centrally administered, rather than the more usual use case where people decide themselves which groups they want to join.

David.W’s picture

Thats also a good one, i'll have to look into that. However i dont think i can implement that atm at the site..

David.W’s picture

I have a workaround for now.

I created a search form inside a view (exposed node content), so they can search within the view rather the whole site.

Thanks for all the replies. In the future, i'll use Organic Groups ;)