Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AllowMemberTokenManagement to Team #1398

Merged
merged 6 commits into from
Aug 8, 2024

Conversation

juliannatetreault
Copy link
Collaborator

@juliannatetreault juliannatetreault commented Jul 1, 2024

Description

This PR adds a new team permission - AllowMemberTokenManagement - to the Team block. AllowMemberTokenManagement is true by default and can only be managed by Owners or users with "Manage Teams" permissions. Additionally, this PR adds tests and documentation for the new permission.

Remember to:

Testing plan

  1. allow_member_token_management should default to true for new teams.
  2. If allow_member_token_management is omitted, it should default totrue.
  3. allow_member_token_management should be able to be set or unset via the provider.

External links

Output from acceptance tests

$ TESTARGS="-run TestAccTFEWorkspace" make testacc

...

@juliannatetreault juliannatetreault force-pushed the juliannatetreault/TF-16200-add-team-token-management branch from 8fc2be5 to adea392 Compare July 1, 2024 16:27
@juliannatetreault juliannatetreault requested review from emlanctot and a team July 1, 2024 16:27
@juliannatetreault juliannatetreault force-pushed the juliannatetreault/TF-16200-add-team-token-management branch from 05426e8 to 6bcb772 Compare July 9, 2024 20:36
@JarrettSpiker
Copy link
Collaborator

This looks good to me. Will just need a rebase once the go-tfe changes are available

@juliannatetreault juliannatetreault force-pushed the juliannatetreault/TF-16200-add-team-token-management branch from 96e4a05 to 6c1977f Compare July 16, 2024 16:28
@juliannatetreault juliannatetreault force-pushed the juliannatetreault/TF-16200-add-team-token-management branch from 3796424 to 2e88a8c Compare August 2, 2024 17:45
@juliannatetreault juliannatetreault marked this pull request as ready for review August 5, 2024 13:45
@juliannatetreault juliannatetreault requested a review from a team as a code owner August 5, 2024 13:45
@juliannatetreault juliannatetreault force-pushed the juliannatetreault/TF-16200-add-team-token-management branch 2 times, most recently from d6a8aef to 6d7dc87 Compare August 6, 2024 19:51
@juliannatetreault juliannatetreault force-pushed the juliannatetreault/TF-16200-add-team-token-management branch from b4206a6 to e71be87 Compare August 7, 2024 17:27
Copy link
Collaborator

@emlanctot emlanctot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me ! ✨ 🛹 💯

@juliannatetreault juliannatetreault force-pushed the juliannatetreault/TF-16200-add-team-token-management branch from 0566520 to db5fade Compare August 7, 2024 18:58
@brandonc brandonc merged commit 66a5587 into main Aug 8, 2024
9 checks passed
@brandonc brandonc deleted the juliannatetreault/TF-16200-add-team-token-management branch August 8, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants