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

After creating a GitHub repo for a student, assign a custom permission for the associated GitHub team #1548

Open
harigopal opened this issue Feb 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@harigopal
Copy link
Member

Is your feature request related to a problem? Please describe.
Right now, even if the team with ID specified in course.github_team_id or github_configuration.default_team_id is assigned to a repo created in Github::SetupRepositoryService, it gives this team only Read access to the repo, which is often insufficient.

It's also inflexible in that only one team can be assigned to the repo.

Describe the solution you'd like
It should be possible to configure a desired access level, which should be assigned to the repo after it has been created - probably via a queued background job. It would also be nice if this same job could handle the addition of other teams in the list. It might make sense to handle team access to a repo in this background job.

Additional context
This would mean additional API calls, but I can't see any way to avoid it.

@harigopal harigopal added the enhancement New feature or request label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant