Currently, TAC uses term_access as its only grant realm in hook_node_grants() and hook_node_access_records(). This corresponds to the old database schema.
The grant realm should instead include the module name, taxonomy_access. However, if we implement per-user access control in 7.x-2.x, would we need to introduce a second grant realm? (See #871572: Combine forces: merge TAC and TAC_Lite into one package in D7?).
Comments
Comment #1
xjmSo the realm names would be something like
taxonomy_access_userandtaxonomy_access_role. I'm not sure whether or not this would be necessary if we implement access profiles.Also, this change would need to add a
hook_update_N()flagging node access for rebuild (to update the realm name in the node access table).Comment #2
xjmhttp://drupal.org/commitlog/commit/364/142df3bd7d609525cd34743a71731ca4e...