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: 
<[email protected]<mailto:[email protected]>>
 on behalf of "Debin, Infant Jerald (LNG-CON)" 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Thursday, February 9, 2017 at 1:13 PM
To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
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:[email protected]]

[cid:[email protected]]
Please let me know what could be the issue,

Thanks,
Debin.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to