Users and Roles
MarkLogic Data Hub provides default roles and users in your project:
You can set the user credentials in the appropriate gradle*.properties file or you can specify them at the command line when running the Gradle task. To learn how, see Set Security Credentials Using Gradle
Granular Roles
These roles allow for more granular permission management and for easier migration from an on-premise installation to DHS. These roles require MarkLogic Server 10.0-3 or later.
Role Name | Role Description |
---|---|
data-hub-operator |
Important: By default, new documents inherit the permissions of the user account that runs the step. For greater security, this role is configured without default permissions to avoid unintended inheritance. However, MarkLogic Server requires each new document to have at least one
update permission. Therefore, you must explicitly set the step's Target Permissions to specify at least one update permission to assign to new documents created by the step. |
data-hub-developer |
|
data-hub-admin |
|
data-hub-security-admin |
|
data-hub-monitor |
|
Note: User accounts are not automatically generated for these roles. The MarkLogic Server admin must assign new or existing user accounts to the appropriate roles.
Classic Roles
The following roles are still valid; however, the granular roles are preferred.
Role Name | Role Description | Auto-Generated User | When used |
---|---|---|---|
data-hub-admin-role |
Tip: Switch to the data-hub-admin and data-hub-security-admin roles for more granular permissions.
|
data-hub-admin-user |
During setup and maintenance |
flow-developer-role |
Tip: Switch to the data-hub-developer role for more granular permissions.
(Same role as in Data Hub Service.) |
flow-developer |
During development |
flow-operator-role |
Tip: Switch to the data-hub-monitor and data-hub-operator roles for more granular permissions.
(Same role as in Data Hub Service.) |
flow-operator |
In a production environment |