-
Notifications
You must be signed in to change notification settings - Fork 1.9k
DEFAULT_ORGANIZATION_ID no longer working as expected #4788
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
DEFAULT_ORGANIZATION_ID no longer working as expected #4788
Comments
@jonas-hoebenreich Sorry, this issue got lost during a larger internal restructuring. We will focus on this issue asap. @gupta-piyush19 Could you please reproduce the issue and propose a fix? I think Jonas' suggestion of adding a DEFAULT_TEAM_ID could be a good approach. |
Yeah, that sounds good! |
thank you 🙏 |
Hi, @jonas-hoebenreich ! We already support inviting users with teamIds. Do you think this will solve your issue? |
Hi @gupta-piyush19, thanks for looking into this. We're not inviting users but instead we're using Azure user groups as single source of truth to decide who is allowed to access the application. So when a new employee logs in for the first time the user is automatically created inside Formbricks and should be assigned to the team |
Got it. |
Issue Summary
We've been using
DEFAULT_ORGANIZATION_ID
andDEFAULT_ORGANIZATION_ROLE
to automatically assign new users to our organization on their first login, granting themmember
rights. However, after the introduction of product-based access controls, this no longer works as expected.Instead of having viewer access to the surveys, users now receive the following error message upon sign-up: "Your account doesn’t have access to any products yet."
Expected Behavior
New users should be automatically assigned to the specified organization and granted viewer access upon their first login. Maybe we could add a variable like
DEFAULT_TEAM_ID
to automatically add them also to a specific team granting them certain access rights.Other information (incl. screenshots, Formbricks version, steps to reproduce,...)
No response
Your Environment
Self-hosted Formbricks
The text was updated successfully, but these errors were encountered: