Gruppide kustutamise õigus on ainult administraatoriteel
tammets opened this issue · 2 comments
tammets commented
Muud rollid gruppe kustutada ei saa / tohi.
pjotrsavitski commented
I haven't checked the code to see if those permissions are assigned with code and decided to just remove the delete own groups
permission from teacher
role. This should get the job done.
We can consider a more sophisticated approach by allowing deletion of just created groups if that is needed, but current solution should do for now. @tammets Please check with an account that has a teacher role to make sure that there is no override in the code somewhere that would still allow the teacher to remove own groups. I'll check the code to fix it in that case.
pjotrsavitski commented
Need to check if all is working as expected when the service gets updated and only then close the issue.