Probably the document lacks execute permission (permission, not privilege) for 
any of john's assigned roles.

http://docs.marklogic.com/guide/security/permissions#id_85471 and 
http://markmail.org/message/ohi55uhfsji6gmq4 might help.

-- Mike

On 13 Nov 2012, at 15:16 , John Zhong <[email protected]> wrote:

> Hi,
> 
> I have a WebDAV server configured on ML 5.0-1.2. I have configured different 
> users/roles, for example, user john, role editor. Also, I configured a cpf 
> pipeline to trigger a file updated action.
> 
> Then, I used Oxygen XML Editor 13 to connect to the WebDAV by the user john, 
> edit a xml file, then click save. I can save the xml, but the cpf pipeline 
> throw a error, see below. I guess this is because some privileges, so I 
> enabled all the Execute Privileges to the role editor, but that did not work. 
> I also tried to enable those four URI Privileges, domain-config-uri, 
> domain-uri, pipeline-uri, triggers-uri, did not work either. I also tried to 
> inherit some roles, such as pipeline-execution, dls-user, dls-internal, 
> dls-admin......., did not work either. The only way that worked is to inherit 
> the "admin" role.
> 
> So, is this only way to resolve my problem?
> 
> <error:message>Server unable to build program from request</error:message>
> 2012-11-13 16:58:14.674 Info: TaskServer:   
> <error:format-string>XDMP-NOPROGRAM: xdmp:invoke("/update-action.xqy", 
> (xs:QName("trgr:uri"), "/test.xml", xs:QName("trgr:trigger"), ...), 
> &lt;options 
> xmlns="xdmp:eval"&gt;&lt;isolation&gt;different-transaction&lt;/isolation&gt;&lt;prevent-deadlocks&gt;t...&lt;/options&gt;)
>  -- Server unable to build program from request</error:format-string>
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to