15.4. Authorization and User Permissions

Every client program connected to a DataHub instance is associated with exactly one user at any given time. Each user is authorized to access certain features of the DataHub instance according to its user permissions. When a client first connects, it is immediately associated with the anonymous user, and gets those permissions. Then it gets switched to the special user for the protocol it is connecting on. If the client subsequently authenticates itself as a normal user, it is then granted that user's permissions. A client's permissions are always the entire permission set for the user that it is currently associated with.

To edit user permissions select the user name in the Users list and press the Add button. This will open the Permission Editor.

Permissions are categorized into four groups, and defined as follows:

Admin

ConfigAdmin

This user can remotely administer the application.

DeletePoint

This user can delete an existing point.

[Important]

Normally, no client should be allowed to delete points from the DataHub instance. Deleting points can be very disruptive for existing clients. Use this permission with caution.

LoadConfig

This user can load a configuration file.

Shutdown

This user can remotely terminate the application.

UserAdmin

This user can remotely administer other user configurations.

Connection

Connect

This user is allowed to maintain a connection to the DataHub instance. When a connection is made, the client has a 5-second grace period in which to authenticate before the client is disconnected. If the client does not have Connection Connect permissions after the grace period expires, it will be disconnected.

Data

ChangeModel

This user can change the organizational hierarchy of the data points. This is the information that makes the data appear as a tree structure in the Data Browser.

CreateDomain

This user is allowed to create new data domains. Normally you should also set Connection CreatePoint permission when you set this permission for a user.

CreatePoint

This user is allowed to create new points in existing data domains in the DataHub instance.

Force

If the user has Connection Write permission, he may also have this permission. In this case, the user will able to send the force and cforce commands to the DataHub instance, which will override the read-only status and timestamp check for a point, thereby forcing a write to succeed where it would otherwise fail.

HistoryRead

This user is allowed to read historical values.

Read

This user is allowed to read point values and subscribe to point value changes.

Write

This user is allowed to write a new value to a DataHub point.

HTTP

Connect

This user is allowed to make an authenticated HTTP connection.

Restrictions

[Important]

Beginning with DataHub version 9.0, these six restriction permissions are not available. They are documented here only for backward compatibility.

ConcurrentLoginLimit

This restriction was never implemented.

Expires

This restriction was never implemented.

ExpiryDate

The date on which the user account expires, in YYYY-MM-DD format.

LimitConcurrentLogins

This restriction was never implemented.

LimitTotalLogins

This restriction was never implemented.

MaxLoginLimit

An integer specifying the maximum total number of logins permitted.

Web

CreateControl

This user can create a new control (not implemented).

CreateMobilePage

This user can create a new page for a mobile client.

CreatePage

This user can create a new page.

DeleteControl

This user can delete a control that he has created (not implemented).

DeleteOtherOwnerControl

This user can delete a control that another user has created (not implemented).

DeleteOtherOwnerPage

This user can delete a page that another user has created (not implemented).

DeletePage

This user can delete a page that he has created (not implemented).

EditOtherOwnerControl

This user can edit a control that another user has created (not implemented).

EditOtherOwnerPage

This user can edit a page that another user has created.

EditPage

This user can edit a page that he has created.

SaveControl

This user can save a control that he has created (not implemented).

SaveOtherOwnerControl

This user can save a control that another user has created (not implemented).

SaveOtherOwnerPage

This user can save a page that another user has created.

SavePage

This user can save a page that he has created.

ViewOtherOwnerPage

This user can view a page that another user has created.

ViewPage

This user can view a page that he has created.

WebView application

BrowseInternet

This user is allowed to browse the Internet from within DataHub WebView.

ChangeOptions

This user is allowed to change WebView options.

ChangeTheme

This user is allowed to change the WebView theme. This function is not currently available.

ConfigureTraceSettings

This user is allowed to configure trace settings in the WebView application.

Connect

This user is allowed to make a live data connection from a WebView client.

Troubleshoot

This user is allowed to use the troubleshooting abilities of the WebView application.

ViewOnlineHelp

This user is allowed to view the WebView online help.