by Jake Dallimore.
Thanks, Tim. Triaged that one just now.
I've had a look at how other modules implement support for this and I'm now leaning towards with what you just said about being permissive. In fact, my assign example was bad anyway as that was in the case where group submission was enabled.
If you just set a grouping on the assignment, even in separate groups mode course, anyone can submit to the assignment. It's only when filtering the submissions in the report that you're unable to filter on groups outside the set grouping.
A few example cases:
- Survey: Anyone can take the survey. Teachers then see a nice error message in the results report when trying to view a non-grouping submission (bug).
- Choice: anyone can answer, but teachers can't filter on groups outside of the set grouping.
- Assign: anyone can answer, but teachers can't filter on groups outside of the set grouping.
- Forum: Won't let you create a discussion unless you belong to the grouping.
So, it seems we're not 100% on how we implement this (e.g. forum blocks users who are from groups outside the set grouping). Being permissive and only including the group information from users within the set grouping seems to align with at least a few of the other cases above.
I've had a look at how other modules implement support for this and I'm now leaning towards with what you just said about being permissive. In fact, my assign example was bad anyway as that was in the case where group submission was enabled.
If you just set a grouping on the assignment, even in separate groups mode course, anyone can submit to the assignment. It's only when filtering the submissions in the report that you're unable to filter on groups outside the set grouping.
A few example cases:
- Survey: Anyone can take the survey. Teachers then see a nice error message in the results report when trying to view a non-grouping submission (bug).
- Choice: anyone can answer, but teachers can't filter on groups outside of the set grouping.
- Assign: anyone can answer, but teachers can't filter on groups outside of the set grouping.
- Forum: Won't let you create a discussion unless you belong to the grouping.
So, it seems we're not 100% on how we implement this (e.g. forum blocks users who are from groups outside the set grouping). Being permissive and only including the group information from users within the set grouping seems to align with at least a few of the other cases above.