Using Blueprint Dashboards, you can distribute the same Dashboard to hundreds of different TagoRun Users and then grant access to specific devices that are unique to each user.
This article will demonstrate how to distribute Blueprint Dashboards to TagoRUN users by granting the necessary permissions and adding the required tags.
Before you begin, make sure you have created your Blueprint Dashboard. Learn how to do so in this video. Navigate to TagoRUN.
Here, go to the Signup Page and add a required field for “state” with Type “text.” This will require users to enter the state they are in when signing up for your TagoRUN application, and we can distribute certain devices to them based on that input.
Now if you open your RUN application, you can see that “state” is a required input field.
Next go to Access and add a new policy.
Select “Run user” as the Target with field Tag Match equal to (in this case) state.
Note: Here, state is referring to the state in the United States that a person is in. This input could also be some other user identifier such as the company they work for, their age, or a state in another country.
To grant access for your dashboard, add a permission for Dashboard with a field of ID equal to the name of your dashboard (Blueprint Weather Dashboard in this instance). To grant access for the devices, create a permissions for Devices with Field “Tag Match” equal to "state."
Note: Now that the permissions have been added, RUN users will have access to the dashboard and any device that has the tag with key “state” and a tag value equal to their respective states. So if a user signs up with a state of Montana, they will be able to access any devices that have a tag for state equal to Montana (in addition to the other required tags for the blueprint dashboard itself).
Navigate to your devices and add the tag with tag key “state” and a value.
If I give my humidity sensor a state different from the User’s state, that user will not have access to the device.
If I switch the tag value from “Arizona” to “California”, the state for the user, they will then be granted access to the device.
The Dashboard is now complete and the user has access to all Blueprint Dashboards that match his input state.
Tips: Watch this video on Distributing Blueprint Dashboards