Hi,

I would like to restrict the URIs for which a user can create documents via
REST.

My setup so far is:
* a user 'app-user' which is assigned the role 'app-role' (nothing else)
* no other role is assigned to the 'app-role'
* the 'app-role' has execute privileges for rest-reader, rest-writer
and xdbc:invoke (for non-rest calls)
* the 'app-role' has default permissions for update and read

It surprises me that the user is able to create arbitrary documents via
REST. I would expect that URI privileges or the unprotected-uri/any-uri
execute privilege are necessary.

Is there anything I am missing?
How can I restrict the URIs for which the REST user can create documents?

Regards,
Andreas


-- 
Andreas Hubmer
IT Consultant

EBCONT enterprise technologies GmbH

OUR TEAM IS YOUR SUCCESS

UID-Nr. ATU68135644
HG St.Pölten - FN 399978 d
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to