我有一个名为“监控”的角色,能够在 MarkLogic 中插入/查看文档。我想添加删除文档的权限,但我不知道是否需要赋予它“执行”权限。
我的角色如下:
<role>
<role-name>moderators-role</role-name>
<description>The role assigned to the zabbix user that monitor all server apps</description>
<permissions>
<permission>
<capability>read</capability>
<role-name>moderators-role</role-name>
</permission>
<permission>
<capability>update</capability>
<role-name>moderators-role</role-name>
</permission>
</permissions>
<privileges>
<privilege>
<privilege-name>rest-writer</privilege-name>
</privilege>
<privilege>
<privilege-name>rest-reader</privilege-name>
</privilege>
</privileges>
</role>