Quick note from one of the Roxy maintainers -- don't modify default.properties. 
If you need to change a property there, copy it to build.properties or to one 
of the environment properties files. The reason is that when you upgrade Roxy, 
default.properties gets over-written.

--
Dave Cassel
Developer Community Manager
MarkLogic Corporation<http://www.marklogic.com/>
MarkLogic World - San Francisco April 13 - 
17<http://world.marklogic.com/locations/san-francisco/>


From: Indrajeet Verma 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Friday, March 27, 2015 at 2:13 AM
To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Subject: Re: [MarkLogic Dev General] XDMP-LOCKED Roxy Deployment

Hi Abhishek,

For me, I created a below role and its working without any problem. Modified 
default.properties/local.properties accordingly. We used to do daily deployment 
and have no issues so far. Can you try it and see if this helps.

local.properties

app-role=XYZ-Role

ML Security

alert-user

Executive compartment,

any-collection
any-uri

xdmp:value
xdmp:with-namespaces
xdmp:invoke
xdmp:invoke-in
xdmp:xslt-invoke


role name (capability)
[Keep]

        XYZ-Role (read)

        XYZ-Role (insert)

        XYZ-Role (update)

        XYZ-Role (execute)





On Fri, Mar 27, 2015 at 6:12 AM, 
<[email protected]<mailto:[email protected]>> 
wrote:
Hi Geert,

Its just xQuery file deployment using Roxy, Following privilege has been give 
to the role deploying xquery files [app-role in Roxy properties file]

Inherited Role:
manage-user, rest-admin

Executive privilege:
unprotected-uri, unprotected-collections, xdmp-invoke, xslt-eval, xdmp-value

Looks like update permission of the xQuery file is causing locking since first 
time insert is working fine - but not sure about that.

Thanks
Abhishek

________________________________
From: 
[email protected]<mailto:[email protected]>
 
[[email protected]<mailto:[email protected]>]
 on behalf of Geert Josten 
[[email protected]<mailto:[email protected]>]
Sent: Thursday, March 26, 2015 4:02 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] XDMP-LOCKED Roxy Deployment

Hi Abhishek,

Bootstrap uses admin: and sec: functions. Those require a whole bunch of privs. 
I am kind of guessing that you are referring to deploying modules and content 
though. That should only require the priv to run through xcc, and permission to 
insert in the given uri/collection. The XDMP-LOCKED surprises me a bit, since I 
am unaware of Roxy acquiring locks explicitly itself.

Can you confirm whether it concerned bootstrap of deploy modules, and can you 
also give more details about the no-admin user? Did you assign privs/roles?

Kind regards,
Geert

From: 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Thursday, March 26, 2015 at 1:14 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] XDMP-LOCKED Roxy Deployment


Hi All,



I am doing Roxy deployment using no-admin user. First time deployment of XQuery 
files went well but next successive deployment is throwing XDMP-LOCKED Document 
or directory is locked exception.



Not sure If I am missing any special privilege or permission to deployer role.



Thanks

Abhishek

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.

_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
http://developer.marklogic.com/mailman/listinfo/general


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to