Hello Dojo
Our company use a lot of web dashboards (near 100 differents) for permit our client to follow their data.
Although a dashboard is a json file, Is there a way to get the list of security acces granted for each dashboard by script ?
We currently use groups of users to simplify the management, but for the security review it could be useful to verify that no other rigth has been granted by error
Hi Joel,
There is no built-in way to see the security of all dashboards at once. The security configuration for all the dashboards is saved in 1 central location: C:\Skyline DataMiner\dashboards\Security.json. You can parse this file using an automation script to retrieve the information you are after.
Note that we cannot guarantee that the structure of this (internal) file will remain the same in future releases of our software. There are however no plans to change this in the near future.
Hi
the easiest way to do this would be by reading out the file that holds all the security settings for dashboards. You can find this file under the following path: "C:\Skyline DataMiner\Dashboards\Security.json".
This file will have an entry for every dashboard with two fields: "AllowView" and "AllowEdit". These fields will hold an array of usernames to indicate which users have the right to view the dashboard and edit it.
If no usernames are present in these fields, this means that all users on the system with access to the dashboards app will be able to see the dashboard or edit it.
I hope this helps.
Thank you both
Seems good, I am going to work in this way.