Protected path must have at least one permission: variable1
The protected path would have no permission after the operation, which is not allowed.
Fix the code.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.