Does anyone know what the purpose is of the content_field_user_ref (your name may vary) table that the nodeaccess_userreference module manages. Since the module also populates the node_access table with the same values, it seems redundant. Isn't the record in node_access sufficient to determine whether a user has access to a node, and also sufficient to furnish any node-access-related form elements? So what is the purpose of the content_field_user_ref table? I've been struggling with this for a while. Im trying to create my own node access module, and want to be sure that manipulating just the node_access records will be enough.
Thanks Much.
Comments
Comment #1
work77 commentedbump
Comment #2
danielb commentedThe record in the content_whatever table is made by the content module, as with any userreference field. This allows you to display the information in the node, views, templates, or you can use the data to make decision in php, all without accessing the node access tables. That is what is unique about this node access module, and it has nothing to do with node access modules in general.
Comment #3
danielb commented