Permissions
Deephaven features a robust permissions system that allows administrators to control users' access to data, queries, dashboards, and system functionality. Non-administrator users can share and access persistent queries, but cannot access many of the permissions tools available to administrators.
The ACL Editor
The Web UI's ACL editor is the easiest way to configure permissions. Administrators (and other users with the correct permissions) can create a new ACL editor by clicking New at the top of your Deephaven IDE, and then selecting the ACL Editor from the Advanced tab:
A full guide to the ACL editor can be found in the system administration guide.
Contact your system administrator to adjust your permissions level if necessary.
Persistent Query Access Control
It is possible to manually configure permissions to individual persistent queries in order for specific users to see the tables and plots used to build the dashboards shared with them. You can do so in the Permissions tab in the Query Monitor:
The box in yellow outline lists additional users with access to that query. You can add an individual user or a user group. Make your selection from the drop-down menu, then click Add. For example, the allusers
group is being selected above. Then, assign Viewer or Admin privileges using the drop-down next to the name:
As the name implies, a Viewer will be able to view the name of the query and its associated tables and plots in the Deephaven Panels menu, but they will not see the query code nor be able to start/stop the query unless explicit permission is granted.
Note
Operate As
Users with the appropriate permissions can operate as any other user using the Operate As option on the initial login page:
After entering the username of the user to operate as, in addition to your own credentials, you will be effectively logged in as the other user. You will be able to see the other user's workspace, including Code Studios and Dashboards. Note: changes made to the other user's workspace will persist when that user logs in.
The user Settings icon will become orange when operating as another user.
In addition, opening the user Settings menu will show "userName as operateAsUser".
Note
Operate-as permissions are usually defined in the superusers.txt
file, and cannot be changed through the ACL editor. Refer to the System Adminstration Guide for further details.