Prevent forced subscription to teacher based on the group

Prevent forced subscription to teacher based on the group

by Ago Luberg -
Number of replies: 5
I have a setup, where different schools take the same course. 
For each school we have set up a Moodle group (School A, School B).
Each school has different teachers (School A has Mary and John, School B has Paul).
We use forums with forced subscription which is available only for a specific group (Forum for School A, forum for School B).
The problem is, that all the teachers can access all the forums. It's ok if they see those, but I don't want them to get email from the school they do not belong to. (Currently May, John and Paul are all subscribed to both forums).

There is a setting "Allow force subscribe (mod/forum:allowforcesubscribe)" which I have set to prevent for the teacher role, but this doesn't help. Also have tried to change "Access all groups (moodle/site:accessallgroups)" setting - doesn't prevent access to other group's forum.

My current "workaround" is that I have set the previously mentioned permission to "prohibit". The result is that none of the teachers is subscribed (and therefore no teacher gets an email). This is not ideal, because it would be nice for the specific school teachers to get the email (Mary and John should get emails from School A's forum, Paul should get emails from School B's forum).

Any suggestions how this could be achieved?
Average of ratings: -
In reply to Ago Luberg

Re: Prevent forced subscription to teacher based on the group

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Ago,

To stop teachers receiving forum post notification emails from forums from other schools, you need to

  1. Add each teacher to the group for their school and
  2. Prevent the capability 'Access all groups' (moodle/site:accessallgroups).

You mention that you already tried changing this capability, but perhaps you could double-check that you also added teachers to the correct groups?

Please note that the 'Access all groups' capability also prevents teachers from looking into other forums.

In reply to Helen Foster

Re: Prevent forced subscription to teacher based on the group

by Ago Luberg -
Hi!

Thanks for the reply!
I tried that. Still all the teachers see the forum (and are among the subscribers).
I use "Restrict access" section to allow only certain students from one group to access to forum. The Access restriction starts with the word "Student". So, I understand that the restriction can only be applied for the students. Is there some other ways to restrict forum access to teachers?

Thanks!
In reply to Ago Luberg

Re: Prevent forced subscription to teacher based on the group

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Ago,

Sorry I misunderstood your setup. The method I described using the 'Access all groups' only works with forums where the group mode is set to separate groups. Is this perhaps an option for you?

Otherwise, as you've found, group access restrictions only apply to students. I don't know of a way to restrict access to teachers.

In reply to Helen Foster

Re: Prevent forced subscription to teacher based on the group

by Ago Luberg -
Hey!

I tried "separate groups" setting for the forum. It didn't change the fact that all the teachers (no matter which group they belong) are subscribed to the forum. May-be I am missing something with "separate groups" setting?
I changed teacher permissions:
Allow force subscribe - prevent
Access all groups - prevent

I also tried to change some of the teachers to students (along with the teacher role), still no difference.
If I change the permission of subscribe to prohibit, then none of the teachers are subscribed.
Ideally I would like that teachers with specific group are subscribed (along with the students from the same group).

Thanks in advance!
Ago
In reply to Ago Luberg

Re: Prevent forced subscription to teacher based on the group

by Elisa Cologna -
Kvalitní online kasino by mělo nabízet široký výběr her, spolehlivou zákaznickou podporu a bezpečné prostředí. Důležité jsou také různé bonusy a akce pro nové i stávající hráče. Pokud hledáte ověřené kasino, můžete navštívit https://mostbet-cz.mobi/, kde najdete vše potřebné pro skvělý herní zážitek.