Skip to content

[FEAT]: add support for pre-defined organization roles #2314

@mkushakov

Description

@mkushakov

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Up for grabsIssues that are ready to be worked on by anyoneType: FeatureNew feature or request

    Type

    No type

    Projects

    Status

    ✅ Done

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions