Skip to main content

Securing MarkLogic Server

Create Roles

Using the Admin Interface > Security > Roles > Create, create the roles and compartments as follows:

  1. Create roles named US and Canada and assign each of these roles the country compartment name. These roles form the country compartment.

  2. Create roles named Executive and Employee and assign each of these roles the job-function compartment name. These roles form the job-function compartment.

  3. Create roles named top-secret and unclassified and assign each of these roles the classification compartment name. These roles form the classification compartment.

  4. Create a role named can-read with no compartment.