Inviting an employee results in creating a new organisation #941
Replies: 3 comments 2 replies
-
|
Same with adding a user via admin panel http://localhost/admin. It creates an account under a completely new organization. It's also not possible to change a user's organization in the admin panel (or anywhere within solidtime). The only workaround I found was manually changing the respective values in the database. |
Beta Was this translation helpful? Give feedback.
-
|
We will generally always make sure that the user has an organization because it is not possible to use solidtime without an organization. When you delete your only organization, solidtime will automatically create a new one. The current flow is that users can only accept invites after an account is created. I agree that this is not a great flow, the main reason it is in place is because the organization system is based on Jetstream. That's also why there are 2 Buttons in the invitation email, it is intended for two different use cases (1) new registrations and (2) existing accounts. The reason why it works if you click on "Accept Invitation" -> Navigate to Register -> Register, is because it navigates to the originally indended URL after registration, which accepts the invite. Ideally this is not a two-step process at all for new users. I'll convert this into a discussion, as I do not consider it a bug. You should be able to just delete your own organization for now, until I find time to take a stab at this as there are also a few security considerations.
@0bi1k You can change the current organization with the organization switcher on the top left in the interface in the sidebar, or am I misunderstanding what you want to do? |
Beta Was this translation helpful? Give feedback.
-
|
@Onatcer sorry I wasn't very clear in my last comment. In the Users tab of the super admin panel (http://localhost/admin/users), you can add new users. Each new user is assigned their own organization as you described the intended behavior to be. This would be fine if you could go into the Organizations tab (http://localhost/admin/organizations) and move existing users into other organizations. At the moment this isn't possible as there is no option to move a user from their current organization to another. (e.g. move user_A from org_A to org_B). Or when creating a user via the admin panel, maybe have the option to assign them to an existing organization instead of auto-creating a new one? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I've just got this set up and it seems to work well. However in initial tests I am inviting a user to be an employee of an organisation. However when they accept this and are prompted to create their account a whole new organisation is created for them. I don't think that this is very good. If they have an open invitation then it should just fulfil the invite and not create anything new
Steps To Reproduce
...
Self-hosted or Cloud?
Self-Hosted
Version of solidtime: (for self-hosted)
0.9.0
solidtime self-hosting guide: (for self-hosted)
https://github.com/solidtime-io/self-hosting-examples/tree/main/1-docker-with-database
Beta Was this translation helpful? Give feedback.
All reactions