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: Disallow members to be added as collaborators on repos #673

Open
shahamy opened this issue Sep 3, 2024 · 1 comment
Open

Feature: Disallow members to be added as collaborators on repos #673

shahamy opened this issue Sep 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@shahamy
Copy link

shahamy commented Sep 3, 2024

Prerequisites:

  • Is the functionality available in the GitHub UI? If so, please provide a link to information about the feature.

  • Is the functionality available through the GitHub API? If the functionality is available, please provide links to the
    API documentation (https://developer.github.com/v3/) as well as the Octokit documentation (https://octokit.github.io/).

  • If the functionality is not yet available in the API, it would be helpful if you
    contacted support (https://support.github.com/) or posted in the Community Forum (https://gh.neting.ccmunity/). Please
    include a link to the forum post if you create one or a copy of the response from support.

New Feature

We want the ability to restrict repo admins from adding collaborator directly to a repo. We want to members to be added to Identity Provider Groups which are tied to GitHub Teams and not directly to the repo as a collaborator.

There is a webhook event for adding members to repos

@shahamy shahamy added the enhancement New feature or request label Sep 3, 2024
@decyjphr
Copy link
Collaborator

decyjphr commented Sep 6, 2024

@shahamy I checked and it appears that we had already added this feature - the app is already listening to these events as you can see here

So all that needs to be done is if you have settings for collaborators that is empty, it would result in any collborators added to a repo being deleted when the sync happens.

For e.g. here is an example :

other settings...


collaborators: []

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
None yet
Development

No branches or pull requests

2 participants