Closed (won't fix)
Project:
Taxonomy Access Control Lite
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2009 at 06:27 UTC
Updated:
21 Jun 2010 at 23:08 UTC
Comments
Comment #1
Dave Cohen commentedI'm not sure what you mean by "a manager on a specific team". But as for the AND logic, that is just not the way Drupal's access control works. There are a couple patches on drupal.org that may help; you'll have to search to find them. One introduces AND logic to access control. The other, more recommended one, lets you "alter" the access controls. You'd have to apply the patch and write a bit of PHP in a custom module to alter things just the way you want.
Comment #2
JStarcher commentedI'm looking for this functionality too. Couldn't we just change the rewrite_sql() a bit? I was thinking about changing the $where to something along these lines, though it still doesn't produce the desired behavior just yet.
Comment #3
andreas_jonsson commentedBump.
Anyone found a solution to this? Rules integration?
Really need this and willing to pay to have it solved.
Comment #4
Dave Cohen commentedAs I mentioned earlier there is a Drupal patch to allow altering of node access grants. That's the "right way" to implement something like this. I'm not sure if that change is Drupal 7 or only...
Of course you could always start with tac_lite and modify it to suit your needs (and rename it in the process to avoid future confusion).
Comment #5
Dave Cohen commentedI don't see an easy/elegant way to do this. But Drupal 7 introduces http://api.drupal.org/api/function/hook_node_access_records_alter/7, that hook makes it possible to write a small module which can customize node_access permissions.