简体   繁体   中英

Role wise editing and deleting the permissions on a node in drupal

I have a drupal7 site and I need to implement this functionality into the site. I have two user roles(private and public), if a user of public role creates a node then all the users of public role should be given the edit and delete permissions for that node but the users of the private role should only be able to view the node and vice-versa. Please tell me how to achieve this pro grammatically as I have been searching for a module that can perform this functionality and there is no such module.

Just a quick thought.

2 content types: public_node & private_node. Then use module Content Access: http://drupal.org/project/content_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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM