Skip to main content

Securing MarkLogic Server

Updates with Element Level Security

You can update content in documents when protected paths have been defined with element level security. Both document level and element level permissions will apply to the content (compartment level permissions may apply as well - see Interactions with Compartment Security for details). With the appropriate permissions, you can use insert and node-update at the element level to modify content containing protected paths. These capabilities take all element level permissions into consideration.

You can also protect document property nodes with element level security. With the node-update/insert capability, you can call xdmp:document-add-properties(), xdmp:document-remove-properties(), xdmp:document-set-property(), or xdmp:document-set-properties(). See Document and Element Level Permissions Summary for details.