-
Notifications
You must be signed in to change notification settings - Fork 874
fix: fix permissions for workspace creation #17241
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
Conversation
d226e87
to
19fcd6f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the original issue?
9bdd56a
to
49951a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not manually test, but this checks out with my reasoning
50998fc
to
0b13269
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reverts commit 0b13269.
03a81d4
to
d1f7eb0
Compare
This fixes the permissions check when creating a workspace by setting the owner_id to the current user's id. This was originally setting owner_id to *