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