Skip to content

fix: Allow fetching of non-personal workspaces #1495

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 1 commit into from
May 16, 2022
Merged

fix: Allow fetching of non-personal workspaces #1495

merged 1 commit into from
May 16, 2022

Conversation

kylecarbs
Copy link
Member

RBAC should cover this anyways!

@kylecarbs kylecarbs requested a review from Emyrk May 16, 2022 22:28
@kylecarbs kylecarbs self-assigned this May 16, 2022
RBAC should cover this anyways!
@@ -92,31 +92,6 @@ func TestWorkspaceParam(t *testing.T) {
require.Equal(t, http.StatusNotFound, res.StatusCode)
})

t.Run("NonPersonal", func(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have any tests for the workspace RBAC already?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think all of these endpoints need a thorough comb-over already, so the answer is no, but that's also the status quo.

@kylecarbs kylecarbs enabled auto-merge (squash) May 16, 2022 22:43
@kylecarbs kylecarbs merged commit 9b1ef29 into main May 16, 2022
@kylecarbs kylecarbs deleted the getws branch May 16, 2022 22:47
kylecarbs added a commit that referenced this pull request Jun 10, 2022
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