Skip to content

Conversation

@chungyau97
Copy link
Contributor

@chungyau97 chungyau97 commented Jun 10, 2025

Description

Enforces a single organization limit during registration for both Enterprise and Open Source platforms.

Test steps

Open Source:

  1. First time Registration
  2. Log out
  3. Second time registration via UI will receive error message "You can only have one organization"
  4. Second time registration via API will receive error message "You can only have one organization"

Enterprise:

  1. First time Registration
  2. Log out
  3. Second time registration via UI will receive error message "You can only have one organization"
  4. Second time registration via API will receive error message "You can only have one organization"
  5. Login with first time register credential
  6. Invite user
  7. Register invite user
  8. Invite user able to login

Cloud:

  1. Register first user
  2. First user able to login
  3. Log out
  4. Register second user
  5. Second user able to login

Result

Open Source:

Second time registration via UI will receive error message "You can only have one organization" Second time registration via API will receive error message "You can only have one organization"
image image

Enterprise:

Second time registration via UI will receive error message "You can only have one organization" Second time registration via API will receive error message "You can only have one organization" Register invite user Invite user able to login
image image image image

Cloud:

Register first user First user able to login Register second user Second user able to login
image image image image

@chungyau97 chungyau97 added the enhancement New feature or request label Jun 10, 2025
@chungyau97 chungyau97 self-assigned this Jun 10, 2025
@chungyau97 chungyau97 requested a review from HenryHengZJ June 10, 2025 05:16
@HenryHengZJ HenryHengZJ merged commit 21caedd into main Jun 10, 2025
2 checks passed
@chungyau97 chungyau97 deleted the feature/single-organization-limit branch June 11, 2025 03:13
@HenryHengZJ
Copy link
Contributor

Malicious user cannot register again if the organization has already existed:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants