Exclude users with specific role from accessing forum
I’m building a new website for my kid’s school and it’s fitted with bbpress forum engine.
There’ll be three forums in general:
– for parents,
– for teachers
– for administration
What I’m trying to achieve is to give an access to the forums based on roles. I’ve created a three roles:
And, until the user is assigned with only one of those roles – everything works great.
The problem is when I assign a “Moderator” role to one of the users – they get an access to all three forums, instead of only the one that comes with base role. So, what I’d like to do is to restrict, that user with roles “teacher” and “parent” can’t have an access to the administration forum, unsless he/she also has a “admin” role assigned.
Is this doable?
Thank you in advance and best regards
- You must be logged in to reply to this topic.