-
Notifications
You must be signed in to change notification settings - Fork 244
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
Multiple Users Support #133
Comments
I think it's a very nice idea. The question is how to implement it... The first thing I am thinking of is to have a But there should be also a privileged class of users, that can remove or add other users. Like an admin flag. When this admin deletes the user, all devices and wallet of the user should be deleted as well. We already have an authentication selection in settings, at the moment there is only "use rpcpassword" option. I think it makes sense to add another one - username & password. If this option is selected, first user is assigned as admin, and there should be a new menu item somewhere to manage access. |
I was thinking of having instead of just single Removing user should be quite trivial to implement, but adding users could be done in multiple ways and I'm not sure which is better. One option is to have the admin register new users, and then send them username and password (which they can edit for themselves later?). Another option could be to allow the admin to send some registration link/ OTP for the new user which will set the account himself. |
Nice. Then recursive delete of the user folder is all we need. In Bitcoin Core we can also separate wallets into folders named after users, similar to what we are doing with specter instances (specter + random id). We can either use usernames for folders, or maybe incremental user ids. In case of user ids they can also change the usernames if they want to (not sure if it is needed though). The only problem will be switching from multi-user back to no-auth or rpcpassword-auth method - should we allow it only if there is a single user? Like to say "delete all users if you want to switch back to non-authenticated access"?
I think it's the right approach. Then for the automatic registration in the cloud demo we can make a simple script that will be sending these links to provided email addresses, or just displaying them on the webpage. |
Implemented in #172, |
As we briefly started discussing in #131 , I was thinking about adding Specter support for multiple users/ accounts sharing the same Specter server. I think the main use cases would be:
As @stepansnigirev mentioned, there is the tradeoff here of leaking some privacy to the node operator. Personally, I'm not too worried about that because:
Any thoughts on this (in general/ implementation-wise)?
The text was updated successfully, but these errors were encountered: