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.
You can use module_node_access hook to alter the user permissions. see: hook_node_access
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.