ls1intum / Artemis

Artemis - Interactive Learning with Automated Feedback
https://docs.artemis.cit.tum.de
MIT License
456 stars 275 forks source link

`Programming exercises`: Changing team members does not change the repository permissions #5506

Open Strohgelaender opened 1 year ago

Strohgelaender commented 1 year ago

Describe the bug

When adding or removing a team member, the repository of the changed team should get updated accordingly. The old members should lose access and the new ones should get it. Currently, Artemis does not forward such changes to the repository. These changes also don't get respected in later operations (e.g. locking the repository after the deadline). For some reason, Artemis still uses the initial list of team members for this operation.

To Reproduce

  1. You need a Programming Exercise with Teams
  2. Create teams
  3. Start the exercise
  4. Change the team
  5. The changes should be forwarded, but they are not.

Expected behavior

Forward the changes.

Screenshots

No response

What browsers are you seeing the problem on?

Other (specify in "Additional context")

Additional context

No response

Relevant log output

No response

Strohgelaender commented 5 days ago

Note: This issue was experienced on the now-discontinued Bitbucket system. We need to re-test if this is also an issue on other external VCS systems like GitLab.