octokit.net icon indicating copy to clipboard operation
octokit.net copied to clipboard

Granting team access for (Enterprise) repositories

Open Sam13 opened this issue 3 years ago • 3 comments

Is there a way to add a team with specific access rights to a repository? I can do this manually in the repository settings -> Collaborators & teams -> Add a team

In the repository client I can add collaborators but I'm not able to add teams. I can retrieve the list of teams in the repository client.

I'm using Octokit.NET v0.50.0 with GitHub Enterprise Server 3.2.3

Sam13 avatar Nov 17 '21 15:11 Sam13

add what ever you think

On Fri, Nov 19, 2021, 11:02 PM jim dandy @.***> wrote:

im trying to get connected but says ot of range

On Wed, Nov 17, 2021, 9:03 AM Sam13 @.***> wrote:

Is there a way to add a team with specific access rights to a repository? I can do this manually in the repository settings -> Collaborators & teams -> Add a team

In the repository client I can add collaborators but I'm not able to add teams. I can retrieve the list of teams in the repository client.

I'm using Octokit.NET v0.50.0 with GitHub Enterprise Server 3.2.3

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/octokit/octokit.net/issues/2374, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMIQP7IBQUNBMREPIDLZX3UMO725ANCNFSM5IHG7DRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Jimdandy498 avatar Nov 21 '21 19:11 Jimdandy498

im trying to get connected but says ot of range

On Wed, Nov 17, 2021, 9:03 AM Sam13 @.***> wrote:

Is there a way to add a team with specific access rights to a repository? I can do this manually in the repository settings -> Collaborators & teams -> Add a team

In the repository client I can add collaborators but I'm not able to add teams. I can retrieve the list of teams in the repository client.

I'm using Octokit.NET v0.50.0 with GitHub Enterprise Server 3.2.3

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/octokit/octokit.net/issues/2374, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMIQP7IBQUNBMREPIDLZX3UMO725ANCNFSM5IHG7DRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Jimdandy498 avatar Nov 21 '21 19:11 Jimdandy498

Hi @Sam13, sorry for the very slow response! Under the Team client you can assign a repo and change permissions using the AddRepository method.

JonruAlveus avatar Aug 16 '22 04:08 JonruAlveus

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

github-actions[bot] avatar Jul 25 '23 02:07 github-actions[bot]