-
Notifications
You must be signed in to change notification settings - Fork 948
[FEAT]: add support for pre-defined organization roles #2314
Copy link
Copy link
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: FeatureNew feature or requestNew feature or request
Description
Describe the need
As announced https://github.blog/changelog/2024-07-10-pre-defined-organization-roles-that-grant-access-to-all-repositories/ Github has added support for pre-defined organisation roles.
To add new resource like github_team_organization_role similar to github_team_repository to assign team to pre-defined role.
resource "github_team" "some_team" {
name = "SomeTeam"
description = "Some cool team"
}
resource "github_team_organization_role" "some_team_role" {
team_id = github_team.some_team.slug
role = "all_repo_read"
}
API:
- Assign an organization role to a team
- Get all organization roles for an organization
- Remove an organization role from a team
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: FeatureNew feature or requestNew feature or request
Type
Projects
Status
✅ Done
Status
Done