Skip to content

[WEB-30][onboarding] skip for organizational accounts #17058

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

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

AlexTugarev
Copy link
Member

Description

Attempt to disable the onboarding flow for organizational accounts, i.e. created using OIDC SSO of any org.

Related Issue(s)

Fixes WEB-30

How to test

  1. Setup OIDC SSO on a new Org
  2. Use the Login button (...) next to the OIDC config entry
  3. See that there is no Onboarding flow happening after signing in

Release Notes

NONE

Documentation

Build Options:

  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish Options
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer Options
  • with-dedicated-emulation
  • with-ws-manager-mk2
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated

Preview Environment Options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@AlexTugarev AlexTugarev requested a review from a team March 28, 2023 09:31
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Mar 28, 2023
@geropl geropl changed the title [onboarding] skip for organizational accounts [WEB-30][onboarding] skip for organizational accounts Mar 28, 2023
@geropl
Copy link
Member

geropl commented Mar 28, 2023

(edited the title to test the linear integration ☝️ )

@@ -120,6 +120,9 @@ export namespace User {
}

export function isOnboardingUser(user: User) {
if (!!user.organizationId) {
Copy link
Member

Choose a reason for hiding this comment

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

💡 Would be great to resort to a method User, e.g. User.isOrganizationalUser or so. Just to highlight the dependency.

But this works, to unblocking nonetheless!

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.

✔️

@AlexTugarev
Copy link
Member Author

Still doesn't work. Also, Fixes Y should work as well.

@roboquat roboquat merged commit cd9e3e8 into main Mar 28, 2023
@roboquat roboquat deleted the at/no-onboarding-org-accounts branch March 28, 2023 11:39
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/XS team: webapp Issue belongs to the WebApp team
Projects
Status: In Validation
Development

Successfully merging this pull request may close these issues.

3 participants