Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Option to exclude "Other users" from Teams membership #1783

Open
kinnectus opened this issue Aug 31, 2021 · 1 comment
Open
Assignees
Labels
Issue type - enhancement request New feature being requested outside of original scope. Plugin - local_o365

Comments

@kinnectus
Copy link

kinnectus commented Aug 31, 2021

We'd like to request the ability for the Teams synchronisation to have an option to exclude - on a per-course basis - the Moodle "Other users" to prevent unnecessary users [who have category access] from being added to Teams groups.

For example: We have teachers and students manually enrolled on course, but we also have category teacher roles whose role it is to have some overview and access to courses for purposes of auditing content, reviewing grades and the odd editing of user enrolments in the event the official teacher(s) is unavailable.

We could granularly override capabilities on a per-category basis, however it would be useful to have the ability to simply "exclude" the "Other users" as a tick box in the custom course sync option - for example having "Group only", "Teams" and "Exclude 'Other users'".

@nenorojas nenorojas added Issue type - enhancement request New feature being requested outside of original scope. Plugin - local_o365 labels Sep 1, 2021
@weilai-irl weilai-irl self-assigned this Sep 8, 2021
@weilai-irl
Copy link
Collaborator

Hi @kinnectus,

I'd be cautious about making the changes that you suggest, as I know that the "unexpected" behaviour you described are the expected behaviour in quite a few Moodle site that we support.

Just some thoughts - for your use case, I'd suggest the following:

  • Create a new role based the existing editing teacher role but without the "local/o365:teamowner" or "local/o365:teammember" capability, and make it assignable at course and course category levels.
  • Instead of assigning editing teacher role to the users at course category level, assign this newly created role instead.

Doing this will prevent the users being added to the connected Teams.

Please review it and let me know if it will work for you.

Regards,
Lai

@nenorojas nenorojas assigned audrieMSFT and unassigned weilai-irl Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue type - enhancement request New feature being requested outside of original scope. Plugin - local_o365
Projects
None yet
Development

No branches or pull requests

4 participants