I just add one thinking : perhaps it would be better to allow each user to create only one society.
Users with their own company or to join a team
Hello,
My question is difficult to explain, so I hope it will be clear enough ;).
I have an app that I have already developed as a first version (when I learned VueJS) and I develop now a second version from scratch to have a better code (using VueJS and InertiaJS). But the technologies are not the subject of this post.
I need to work with teams / groups : a company is a team / group and all datas will be attached to a company. I mean that the entry point is not a user (althoug it's a user that will connect to the app), but a company.
A user works for a company, but can (why not) work for several companies. To simplify each user will have only one role, but the role can be different according to the company. Example : user 1 company 1 => admin ; user 1 company 2 : training manager. So when a user connect to the app, if he can access the authorized resources according to his role / company.
I know that there are some tenant packages, but I'm not sure that it's a solution for me, I think that I can create my own scopes. Furthermore I want to use only one database and I think (even if the tenant packages allow to use one database) that the tenant packages are best when using several databases.
What disturbs me is that each user needs an account on the app and each user can create a company (why not) and invite other users (collaborators) to access the resources of the company.
In the first version I had blocked the access to the functionalities as long as the user didn't have joined an existing company or created his own company. But I realize that it's not the good way because the users didn't really understand how it works (although all was explained on the screen, but their probably didn't read the help messages).
What do you suggest me (pages to show) to manage the registering of a new user ? Once registered, how can I guide them to join an existing company or to create their own company ? Do I propose each user to create a company by itself or do I create one (empty) society for each one ?
Any other suggestion to have simple steps to guide a new user ?
Thans for your help.
V
Please or to participate in this conversation.