Auto-join newly registered accounts to the default workspace #22221

Open
opened 2026-02-21 20:16:12 -05:00 by yindo · 0 comments
Owner

Originally created by @lin-snow on GitHub (Feb 13, 2026).

Originally assigned to: @lin-snow on GitHub.

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

In our Enterprise deployment, we want newly registered users to be automatically added to a company-wide “default workspace” for onboarding and centralized access management.

Today, after a user signs up via SSO/OAuth (or other registration flows), they become the owner of their own workspace, but they are not automatically included in the enterprise default workspace. This creates friction:

  • Admins need to manually add users to the default workspace after every registration.
  • Users may miss shared resources and policies that are only available in the default workspace.
  • It is harder to enforce enterprise onboarding and permissions consistently.

We already have an Enterprise service that can ensure membership in the default workspace (idempotent), but Dify currently does not call it during registration.

2. Additional context or comments

Enterprise provides an Inner API

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @lin-snow on GitHub (Feb 13, 2026). Originally assigned to: @lin-snow on GitHub. ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. In our Enterprise deployment, we want newly registered users to be automatically added to a company-wide “default workspace” for onboarding and centralized access management. Today, after a user signs up via SSO/OAuth (or other registration flows), they become the owner of their own workspace, but they are not automatically included in the enterprise default workspace. This creates friction: - Admins need to manually add users to the default workspace after every registration. - Users may miss shared resources and policies that are only available in the default workspace. - It is harder to enforce enterprise onboarding and permissions consistently. We already have an Enterprise service that can ensure membership in the default workspace (idempotent), but Dify currently does not call it during registration. ### 2. Additional context or comments Enterprise provides an Inner API ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 20:16:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22221