We are trying to use TAC Lite as our access control, attaching taxonomy terms to both users and nodes. We are using 3 vocabularies, in a faceted architecture (for navigation, editing and faceted search), so the access control relies on matching of all vocabularies.

But TAC Lite grants access through matching of any vocabularies, instead of all of them. There is an old identical issue, posted for D5 in 2007 (http://drupal.org/node/122209), where the committer carefully explains the complexities and system limitations involved in such request (to match all vocabularies).

Now 5 years later, with the advance of Drupal 7, is there any change to this possibility? Any new directions?

Thanks a lot!

Comments

Dave Cohen’s picture

Issue tags: +get involved

Drupal 7 introduced some hooks that should be helpful.

See http://api.drupal.org/api/drupal/modules%21node%21node.api.php/function/... and http://api.drupal.org/api/drupal/modules%21node%21node.api.php/function/...

You should be able to implement those hooks in a relatively simple way that ANDs together the tac_lite grants.

If you do so, please share the approach here. I'd be interested to see, and I'd consider a tac_lite/contrib module that changes the tac_lite's normal behavior to be more like this.

seattlehimay’s picture

Any update on this? I would love "AND" capability on tac_lite grants.

seattlehimay’s picture

Issue summary: View changes

Minor text correction ("While trying ..." -> "We are trying ...")