How to block editing a drupal node according to a taxonomy term value?

Viewed 11

I want to prevent users of my drupal site from editing the current node when the status of the node is closed.

The node is "closed" when the field (taxonomy term) == closed

Is there a way to do this please? I really don't help about this on the topic. Nothing with rule module. Thanks in advance.

1 Answers

You can use module_node_access hook to alter the user permissions. see: hook_node_access

Related