-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Cloud: remove extension_bridge_enabled for personal users #7638
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
| if (userData.public_metadata?.extension_bridge_enabled === true) { | ||
| extensionBridgeEnabled = true | ||
| } | ||
| let extensionBridgeEnabled = true |
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.
Business logic change: For personal users, extensionBridgeEnabled is now always set to true. Please add a clarifying comment explaining that personal accounts always have the extension bridge enabled and that the user metadata flag is no longer used.
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.
Thank you for your contribution! I've reviewed the changes and have some suggestions for improvement. The core change to default to is clean and the test updates are appropriate.
| if (userData.public_metadata?.extension_bridge_enabled === true) { | ||
| extensionBridgeEnabled = true | ||
| } | ||
| let extensionBridgeEnabled = true |
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.
Is this intentional as a breaking change? The default changing from to could affect existing users who haven't explicitly set this flag. Should there be a migration strategy or announcement for this change?
Important
Default
extensionBridgeEnabledtotrueand prioritize organization settings over user settings inWebAuthService.extensionBridgeEnabledtotrueinWebAuthService.extension_bridge_enabledin user metadata.extension_bridge_enabledover user setting.WebAuthService.spec.tsto setextensionBridgeEnabledtotruein test cases.This description was created by
for e7922ff. You can customize this summary. It will automatically update as commits are pushed.