Did not see any topics or documentation related to this…
Is there a way that multiple users (multiple logins) can share a single Core? The use case I have is for a Core-based IoT device used within the home, where multiple users (Mom, Dad, Kid 1, etc) want to connect to, control, and view the status of the IoT device, using their own credentials to do so.
You could have one “master account”, and then several “user accounts”. The master account is the one who actually owns the Core. You could then make multiple accesstokens, and assign them to your users. That’d require your application to do the user management though. I believe there are plans for making situations like this easier in the future.
Perhaps @Dave can comment on this?
I had a feeling that might be the case… that my application would need to manage the multiple users. Would be great if it could be made easier in the future… I suspect the use case would become relatively common.
Interesting idea! One approach we had for this was accessTokens with different permissions levels, so your one user could create several tokens, two with full control, and one with limited (read-only) control, etc. We’re hoping to extend access tokens with these properties in the coming months.
This would be great. It would be especially interesting if a “master user” could create tokens that had access to a sub-set of the cores on their account. That would make bootstrapping a multi-user product/application super easy.
Thanks! I was clicking through the Particle console and found the “product” option. What is the different between adding a “user” via the method above, vs creating a product and then adding a “team member”? Do both get access to edit code?
Good question! A Team Member has access to a product as a product creator. They can add firmware, change settings, import devices, etc. Right now only a single “end-user” can claim a device, but many product-creators can manage a product.
Cool thanks! - sounds like I want to use the team feature. I added a team member, but he can’t see my code. Is there a way to share the code directly, and not just the binary?
Sharing like that isn’t implemented, though you can use the new snapshot feature.
Alternatively, setup Dev and use something like GitHub/dropbox to sync your files?