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

Fix opening non default workspace in webapp #322

Closed
wants to merge 3 commits into from

Conversation

nathanseal
Copy link

@nathanseal nathanseal commented Apr 16, 2024

The problem was that opening the webapp to a workspace id that was not the default worksapce id was failing with the Invalid RBAC query error.

It seems like it was introduced in this change:
61079f5#diff-aa38ef9df589b86ae09c4ac9c1653be68a79ed26c07dcb0a75d641de00c99b03R22-R26

Simply reverting the extra check that was added seems to fix the issue.

What

How

Recommended reading order

  1. x.kt
  2. y.kt

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

The problem was that opening the webapp to a workspace id that was not
the default worksapce id was failing with the `Invalid RBAC query`
error.

It seems like it was introduced in this change:
airbytehq@61079f5#diff-aa38ef9df589b86ae09c4ac9c1653be68a79ed26c07dcb0a75d641de00c99b03R22-R26

Simply reverting the extra check that was added seems to fix the issue.
@CLAassistant
Copy link

CLAassistant commented Apr 16, 2024

CLA assistant check
All committers have signed the CLA.

@msaffitz
Copy link
Contributor

We're seeing this as well in the latest builds & helm charts. Would be great to get this merged! Thank you!

@cayden-uw
Copy link

@timroes since he looks like the original commiter of the change @nathanseal mentioned

@timroes
Copy link
Contributor

timroes commented Apr 25, 2024

Hi, the issue is solved from version v0.57.4 onwards. Please upgrade to that version to fix the issue.

Background: Every workspace should be in an organization (data model wise) by now, and that it wasn't (in the OSS version) was due to some issues, which have now been addressed. The code in question here in this PR (specifically: the exception that there wouldn't be an organization) will be removed soon completely.

@timroes timroes closed this Apr 25, 2024
@cayden-uw
Copy link

Thanks @timroes!

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.

6 participants