terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

feat: add github_organization_member_privileges resource

Open trois-six opened this issue 4 years ago • 1 comments

This PR adds the github_organization_member_privileges resource to manage member privileges in the settings of an organization. Destroying this resource won't do anything (just removing the resource from the state), as these settings are settings of an organization, and they always exist if an organization exists. For the very same reasons create and update do the very same things except that create creates the Id of the resource. The official GitHub REST API is not up to date with what we can do in the current UI of github.com and the go client is even less up to date. I implemented what's supported in the current go client.

trois-six avatar Apr 30 '21 19:04 trois-six

Tested on a v2.21 GHES deployment and ran into the following failed test output:

testing.go:654: Step 0 error: Check failed: Check 1/1 error: got defaultRepoPermission ""; want "none"

🤔 still investigating, but feel free to send ideas.

jcudit avatar May 13 '21 23:05 jcudit

👋 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!

nickfloyd avatar Nov 30 '22 16:11 nickfloyd

👋 Hey Friends, this pull request 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 Aug 31 '23 01:08 github-actions[bot]