[MarkLogic Dev General] Getting Need Privilege Error

Geert Josten Geert.Josten at marklogic.com
Thu Feb 9 06:00:26 PST 2017


Hi Debin,

Check which user is running the code that hits this problem, and then check which roles that user has. The Admin UI has a nice Describe tab for roles and users, that gives a condensed overview of that user/role. That user must have or inherit a role to which the required exec priv is assigned.

So, either you need to add a role that has the priv, or you need to assign the priv to a role that the user has..

Cheers,
Geert

From: <general-bounces at developer.marklogic.com<mailto:general-bounces at developer.marklogic.com>> on behalf of "Debin, Infant Jerald (LNG-CON)" <infantjerald.debin at lexisnexis.com<mailto:infantjerald.debin at lexisnexis.com>>
Reply-To: MarkLogic Developer Discussion <general at developer.marklogic.com<mailto:general at developer.marklogic.com>>
Date: Thursday, February 9, 2017 at 1:13 PM
To: MarkLogic Developer Discussion <general at developer.marklogic.com<mailto:general at developer.marklogic.com>>
Subject: [MarkLogic Dev General] Getting Need Privilege Error

Hi,

Im getting below privilege for xdmp-set-request-time-limit


<h1>500 Internal Server Error</h1>^M      <dl>^M        <dt>SEC-PRIV:
Need privilege: http://marklogic.com/xdmp/privileges/xdmp-set-request-time-limit

But all the privileges are set in the marklogic Execute Privileges

[cid:image001.png at 01D282A3.F35FFD00]

[cid:image002.png at 01D282A3.F35FFD00]
Please let me know what could be the issue,

Thanks,
Debin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20170209/37d51c61/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6738 bytes
Desc: image001.png
Url : http://developer.marklogic.com/pipermail/general/attachments/20170209/37d51c61/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 3979 bytes
Desc: image002.png
Url : http://developer.marklogic.com/pipermail/general/attachments/20170209/37d51c61/attachment-0003.png 


More information about the General mailing list