Creating a Protected Collection
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 10.0
- Documentation
To create a protected collection, follow these steps:
-
Click the Security icon in the left tree menu.
-
Click the Collections icon.
-
Click the Create tab. The Collection Configuration page appears.
-
Enter the URI for the collection.
-
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.
-
Click OK.
The protected collection is added to the database.