I'm attempting to modify Taxonomy Access module so that instead of making Deny's override Allows, any Allow overrides Deny's. But I'm having trouble making it work. Could you help me?
In function taxonomy_access_node_access_records(), I've changed
'grant_view' => ($row['grant_view'] == 1) ? 1 : 0,
to
'grant_view' => ($row['grant_view'] == 1 || $row['grant_view'] == 3) ? 1 : 0,
My thought was that $row['grant_view'] would be 3 if there is a mix of Allow's and Deny's. But it doesn't seem to work. Help!
Thanks.
Comments
Comment #1
drupal92037 commentedActually, this began to work after some time. I guess it's related to caching.