Skip to main content

Administrating MarkLogic Server

Creating a Protected Collection

To create a protected collection, follow these steps:

  1. Click Security in the left tree menu. A list of security items appears.

  2. Click Collections.

  3. Click the Create tab.

  4. Enter the URI for the collection.

  5. In the Permissions section, add permissions (role-capability pair) to the collection. Select from the available roles and pick a capability for the role. You should usually select the update capability as this is the only one that affects how users interact with the collection. Only users with a role with the update capability can add documents to the collection; for details, see Protected Collections.

  6. Click OK.

The protected collection is added to the database.