-
Notifications
You must be signed in to change notification settings - Fork 948
Allow custom role names for permission argument #988
Copy link
Copy link
Closed
Labels
Description
As per https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions - custom role names (https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization) are now permitted when adding/updating permissions for teams.
The Terraform provider still only expects pull, triage, push, maintain, or admin
For the avoidance of doubt, I have tested setting permissions with a custom role name (it seems to be case sensitive) via the GH API and it works.
Would someone be so kind as to allow string values for the permission argument please?
Reactions are currently unavailable