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

feat: Automatically grant users access to the "Templates" team #2291

Merged
merged 5 commits into from
Oct 12, 2023

Conversation

DafyddLlyr
Copy link
Contributor

@DafyddLlyr DafyddLlyr commented Oct 9, 2023

What does this PR do?

  • Using a trigger, automatically adds new users to the "Templates" team
  • Removes the responsibility for handling this end from the frontend
  • Adds E2E test coverage of this new behaviour
  • Adds basic tests for canUserEditTeam() logic in UserStore

@DafyddLlyr
Copy link
Contributor Author

@DafyddLlyr DafyddLlyr force-pushed the dp/automatically-grant-templates-access branch from 276b700 to a5d6cf2 Compare October 9, 2023 21:58
@DafyddLlyr DafyddLlyr force-pushed the dp/automatically-grant-templates-access branch from a5d6cf2 to 05879d3 Compare October 9, 2023 22:03
@DafyddLlyr DafyddLlyr marked this pull request as ready for review October 10, 2023 08:17
@DafyddLlyr DafyddLlyr requested a review from a team October 10, 2023 08:17
@DafyddLlyr DafyddLlyr force-pushed the dp/automatically-grant-templates-access branch from d0e14f9 to 712f916 Compare October 10, 2023 08:26
@github-actions
Copy link

github-actions bot commented Oct 10, 2023

Removed vultr server and associated DNS entries

Copy link
Member

@jessicamcinchak jessicamcinchak left a comment

Choose a reason for hiding this comment

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

Working as expected for me when adding a new user, but left a comment below about existing users !

@DafyddLlyr DafyddLlyr merged commit f2ec92f into main Oct 12, 2023
12 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/automatically-grant-templates-access branch October 12, 2023 08:19
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.

2 participants