Skip to content

chore: implement fetch all authorized templates api #13678

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

Merged
merged 4 commits into from
Jun 26, 2024

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Jun 26, 2024

What this does

Adds a /templates route to query for all viewable templates. (How we do workspaces)

This is required for multi-org. The templates view will list all templates the user has access to. The previous API only allowed fetching by organization.

TODO: Implement set of filters like workspaces has and deprecate the /organization/templates route

Multi-org feature will list all templates a user can access.
This makes templates behave like workspaces when fetching.

TODO: Implement set of filters like workspaces has
@Emyrk Emyrk marked this pull request as ready for review June 26, 2024 15:32
@Emyrk Emyrk requested a review from aslilac June 26, 2024 17:43
Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

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

looks great! 😄

@aslilac aslilac merged commit 30c4b4d into main Jun 26, 2024
32 checks passed
@aslilac aslilac deleted the stevenmasley/fetch_all_templates branch June 26, 2024 17:50
@github-actions github-actions bot locked and limited conversation to collaborators Jun 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants