Hi Gisela,
Thanks for the bug report and for your investigation of the issue.
Testing bugs in different versions of Moodle can be very time-consuming, especially for roles-related bugs, so it's a big help to Moodle developers if information about different versions is included in the bug report.
Roles and permissions
moodle/site:accessallgroups - how does it work???
This discussion has been locked so you can no longer reply to it.