Using CCK/Views.
Have field on node field_moderated.
I need to disable editing of node which have field_moderated = true.
hook_access only called if particular node type defined by this module but this node type defined by node module and managed by cck.

Please, tell, is there any way to have hook_access called or another hook to use here.

Comments

jaypan’s picture

You will need a combination of hook_node_access_records() and hook_node_grants().

Contact me to contract me for D7 -> D10/11 migrations.