Skip to content

Conversation

@Yicong-Huang
Copy link
Contributor

When no user system is enabled, the frontend should not request for persisting workflow. This PR fixes the issue by adding a check on the frontend before sending persisting requests, it also adds a guard on the backend so that it will early fail with the GUEST (Regular role in dev mode).

Copy link
Contributor

@bobbai00 bobbai00 left a comment

Choose a reason for hiding this comment

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

LGTM

@Yicong-Huang Yicong-Huang merged commit 1de92e1 into master Sep 20, 2024
@Yicong-Huang Yicong-Huang deleted the yicong-disable-persist-without-usersys branch September 20, 2024 04:36
PurelyBlank pushed a commit that referenced this pull request Dec 4, 2024
When no user system is enabled, the frontend should not request for
persisting workflow. This PR fixes the issue by adding a check on the
frontend before sending persisting requests, it also adds a guard on the
backend so that it will early fail with the GUEST (Regular role in dev
mode).
@Yicong-Huang Yicong-Huang removed the bug label Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mistakenly trying to persist to MySQL when user-sys is disabled

2 participants