Skip to main content

Administrating MarkLogic Server

Creating a Protected Collection

To create a protected collection, follow these steps:

  1. Click the Security icon in the left tree menu.

  2. Click the Collections icon.

  3. Click the Create tab. The Collection Configuration page appears.

  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.