In eXist 4.4 I am setting a user's rwx
permission in XQuery using sm:add-user-ace()
. I do not see a corollary 'remove-user-ace', so I assume I have to use sm:remove-ace($path as xs:anyURI, $index as xs:int)
. However this requires knowing the $index
. Is there function for getting the $index
for a combination $user
and collection/resource
? (I don't see any at the eXist security fundocs)
Many thanks in advance.