Multiple users and roles for the same account #176
Replies: 19 comments 19 replies
-
From #327 : Two roles would be sufficient:
|
Beta Was this translation helpful? Give feedback.
-
I'm interested in contributing to this feature. If I understand correctly, this feature is about allowing multiple accounts under a site with different permission settings based on a Role model. This feature would involve:
I based this on a quick glance through the codebase so not sure if this list is comprehensive. |
Beta Was this translation helpful? Give feedback.
-
@Eptis That looks good to me. I could see some sort of support for teams/organizations as well but that can be added on top later on. We also need to think about how this feature interacts with the billing system on Plausible Cloud. When there are multiple admins on a site, who gets billed for it? I'm thinking that we need an 'OWNER' role with a rule being that every site has one and only one owner. |
Beta Was this translation helpful? Give feedback.
-
Good point. I think using 'OWNER' as a role might be problematic in terms of ensuring only 1 account is used for billing, but I could be mistaken. Would a new relation similar to membership be an option? 'Ownership' could be introduced in a separate table. What do you think? It would probably be easier to link this to a team/organisation later on in the case of billing. |
Beta Was this translation helpful? Give feedback.
-
A different option would be to store the Account ID that owns the site in the 'sites' table itself but that might mix concerns |
Beta Was this translation helpful? Give feedback.
-
Also, what is the best way to run all the databases required 😬 ? |
Beta Was this translation helpful? Give feedback.
-
@Eptis You're right, I like your idea of adding a We would need the app then to make sure that the owner is never deleted from the list of members.
I run postgres on my MacOs natively via homebrew and Clickhouse via Docker: https://hub.docker.com/r/yandex/clickhouse-server/ If you're going to get set up on your machine, would it be too much to ask to also document the process? I'd love to offer a |
Beta Was this translation helpful? Give feedback.
-
Ok owner_id it is! I'll document the process and maybe add a makefile to hide-away some of the docker commands to run it. |
Beta Was this translation helpful? Give feedback.
-
I think I missed something in the TODO list above. I believe it should also allow the invitation of users and allow them to register a new account. Is there already something in place for this? |
Beta Was this translation helpful? Give feedback.
-
True, as an admin you would need to be able to invite people to the account. We don't have that functionality at this stage. |
Beta Was this translation helpful? Give feedback.
-
I made a first attempt as this feature but the size and impact of it are becoming larger and larger. Also I don't have time until next year to work on this. Maybe this is useful for you and you (or someone else) could continue the effort. I made a draft PR here: #432 |
Beta Was this translation helpful? Give feedback.
-
More feedback on this with a specific usecase and need for user accounts: "If you implement it using a viewer, admin and owner setup, then everything is great. Then it would be possible to create the sites for the clients, set everything up for them and invite them as an administrator and then transfer the ownership of the site to their account so they get the responsibility of billing, but with them having zero need to care about the setup of the site. I feel this is a common use case and needs to be possible, it's going to be a real struggle to get the non tech-savvy customers to create the accounts and invite the developer afterwards as administrator, my experience is that this can usually take way longer than you would think, and require so much explaining and hand holding, even for what we see as super simple things. The private links is what I am using now, but it's not a good long term solution, since it means the developer/agency takes ownership of the clients data in a way that makes the client unable to take full control if they wish, this doesn't fit well with the overall privacy goals of Plausible." |
Beta Was this translation helpful? Give feedback.
-
Is there any update on this feature? In our case, we would love to be able to have. multi-users account for them to be able to access it simply by going to Plausible, sign in with SSO (Google). It's much easier to remember plausible.io than the link with a password. |
Beta Was this translation helpful? Give feedback.
-
Hi @metmarkosaric, we are trying out your service for zitadel.ch and loving it so far! I wanted to add a colleague to the dashboard, thus I stumbled on this conversation. If you are interested, we are developing the Identity & Access Management Solution ZITADEL. I think we might offer some interesting things out of the box for you besides authentication, such as granting organizations to self-manage their roles, identity brokering (social, company account etc). If you're interested to collaborate, feel free to get in touch! |
Beta Was this translation helpful? Give feedback.
-
Just want to cast an extra vote for this! We're a small team now, but already running into challenges as our engineers need to be able to log in and define new goals or get API credentials without bothering the account owner, who is mainly just responsible for billing. |
Beta Was this translation helpful? Give feedback.
-
And we're live with this! 🎉 You can now invite team members to view the stats and manage the sites you have added to your account. Learn more about users and roles. You can now also transfer the ownership of a site to a different Plausible account. See how the site ownership transfer works. |
Beta Was this translation helpful? Give feedback.
-
Great to see this live, just tested it out and it seems to be working as expected! :) One thing that could be improved is to make it easier to see which sites are counted for my account and which are not. |
Beta Was this translation helpful? Give feedback.
-
How would I get this working for a self hosted account? |
Beta Was this translation helpful? Give feedback.
-
I'm up to around 10 sites and want to add others to all of them. Is there a way to do this yet? I'm not seeing anything so hoping I can add a co-admin with sharing an email/pwd. I'm a cloud subscriber, fyi. |
Beta Was this translation helpful? Give feedback.
-
"As a company, giving out the username and password to every employee which needs to access the data is not very friendly, also we don’t want all employees to see all properties, plus if someone leaves, we have to reset the password and update everyone with the new passport… Please give the option of multiple users 😍"
Update: You can now invite team members to view the stats and manage the sites you have added to your account. Learn more about users and roles.
You can now also transfer the ownership of a site to a different Plausible account. See how the site ownership transfer works.
Beta Was this translation helpful? Give feedback.
All reactions