Skip to content

Conversation

@filiptronicek
Copy link
Member

Description

Fixes an oopsie I made in #20353 regarding permission checks. The change was supposed to unblock collaborators so that they can stream prebuild logs leveraging their permissions on the project level (in contrast to organization level), but I forgot to update the argument we pass to checkPermissionOnProject to be the projectId instead of the organizationId that was there before.

Related Issue(s)

Fixes CLC-1011

How to test

There's a preview env: https://ft-fix-prebuilds.preview.gitpod-dev.com/prebuilds/
You can join my org and look at this prebuild to confirm streaming works again.

/hold

Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

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

Code LGTM, tested and works ✔️

@filiptronicek filiptronicek self-assigned this Dec 5, 2024
@roboquat roboquat merged commit 2db6b3f into main Dec 5, 2024
28 checks passed
@roboquat roboquat deleted the ft/fix-prebuilds branch December 5, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants