Closed (duplicate)
Project:
Taxonomy Access Control Lite
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2012 at 07:29 UTC
Updated:
14 Feb 2013 at 18:50 UTC
Comments
Comment #1
Dave Cohen commentedRead up on access control on api.drupal.org. You might be able to implement a hook to do exactly what you want.
Maybe its easier to create a new taxonomy "privacy" with terms like "everyone", "administrators", etc... Tac_lite can be configured to work with multiple taxonomies.
Comment #2
thedavidmeister commentedFrom the project page:
Perhaps I misunderstand the OP's intention, but would it not be possible (and easiest) to simply grant the roles access to view/edit nodes through Drupal core? TACL can't remove access from a user once it has been granted.
Comment #3
Dave Cohen commentedI'm going to close this as a dupe, even though I don't have the other issue ID handy. There are several similar requests in the queue.
Granting access to nodes via drupal core permissions can work, but it's problematic. The view permission does not lend itself to this, because imagine a view with hundreds of nodes. Drupal does not call node_access() for each one. Instead the query needs to return only nodes the user is allowed to view. That means a join with node_access table.