Customizing Roles and Capabilities for a School Based Site
-
Hello,
I have a project that I am building for a local school. I am attempting to customize some capabilities and what I need to do is far to advanced for a plugin such as User Role Editor although I’m using that plugin as well.
Picture this. There are a couple custom roles:
– Student
– Teacher
Students can do pretty much everything a Contributor can do, edit their own posts, trash their own posts, after publishing, and upload media.
Teachers should have the same capabilities plus publishing.Now here’s the trick. I would like the Teacher role to be able to edit, delete, and publish only their own and posts made by Students. How can I filter the capabilities and roles in such a way to only allow users with the Teacher role to have permissions to perform these actions for the Student role?
Hope someone can guide me in the process. I’m very new to PHP.
Thanks for your help. ??
- The topic ‘Customizing Roles and Capabilities for a School Based Site’ is closed to new replies.