Powered by Zoomin Software. For more details please contactZoomin

Administrate MarkLogic Server

Checking and Setting Permissions for a Document in a Database

Checking and Setting Permissions for a Document in a Database

  • Last Updated: April 15, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 11.0
    • Documentation

You can use the Admin Interface to check the permissions of a document or directory in a database. You can also use the xdmp:document-get-permissions and xdmp:document-set-permissions APIs to get and set permissions. For details on document permissions, see Securing MarkLogic Server.

In the Admin Interface, follow these steps to check and/or set permissions on a document or directory in a database:

  1. Click Databases in the left tree menu. A list of databases appears.

  2. Click your target database.

  3. Under the database, click Permissions.

  4. Enter the URI of the document or directory and click OK.

  5. If you want to change the permissions, choose a role and capability from the drop-down lists. If you want to add more permissions, click the More Permissions button.

  6. To commit your changes, click OK. To cancel the action, press Cancel.

TitleResults for “How to create a CRG?”Also Available inAlert