Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
how to implement multiple sites use mango?
-
Hello,
I have a problem. There is now a project with multiple sites,The account of each site can only see the data of the site. Can mango do this?
Thanks in advance. -
Yes use permissions and tags to configure points how you want.
Fox -
@mattfox I mean the system has multi tenant, and every tenant has its own use account,after every account login,the user can only see own data source and data point,event,alarm etc.
Can this be done? -
yes,
What version of mango are you playing with?Fox
-
@mattfox v4.0.0-beta3
-
Im using 3.7, but the same rules apply.
Look at the watchlist builder for writing rql queries with tags
eq(tags.user,admin)
for example.
Then you can use these queries to pull datapoints assigned with these user tags.
I like to use a user tag with the same value as the username. Allows you to pull datapoints affiliated with that location/user.Hope that helps
Fox
-
@mattfox thanks,I tested it your way and got some ideas