I am testing out the Private Cloud Medium tier and cannot seem to sort out assigning an existing dashboard to a user. (I am probably missing something simple.) We are developing a consumer IOT device which could ship in the hundreds or more. Here is the steps tried so far:
Created a Product with Auto Provision based on Device Type
Created a Dashboard for the Product
Created a Test User
How does one connect the User to the predefined Product’s dashboard?
I attempted to assign the Test User to a Project with the Project Member Role, but the Test User is also unable to see the dummy Project dashboard I created for that Project.
The workflow I am trying to get to would look like this:
User receives device with Product Device Type firmware set to Auto Provision
User creates a login (White labeled)
User powers up device and goes through Wifi setup and Auto Provision
New device’s Dashboard, based on the Product shows up for the User
As products are a way to define behaviors for a set of devices of the same type, what you actually need in order to give project users access to the dashboard, is to create a device and assign this device to a product, through the device settings, as the dashboard is replicated for every device that has the product assigned.
Then, in the list of devices, select your device and assign it to the users project.
Afterwards, if you have yet to create global or project roles, create a new global role that gives access to Any device (which will give access just to the ones assigned to the users project) and this actions: ["Access*","List*","Read*","Update*"]. Then make sure to assign the role to the user you’ve already created.
Now, for the user to have access to the project dashboard, you need to also assign to the role the permissions to read Any project and Read * action. However if this permission is not assigned once the user logs in it will fallback to the first allowed section.
Given your desired use case, you may look into the claiming feature, which would help in provisioning the users required resources and account creation when the device is received. There is some more details in this post: Platform Version 6.0.0
Let me know if you have any questions on the setup.