user / object authority requirement for XPRIM_HttpRequest
Posted: Wed Nov 24, 2021 4:20 am
I hope someone can help me with what is probably a simple answer.
We have built a series of Server Modules that use the XPRIM_HttpRequest, XPRIM_UriBuilder, XPRIM_JsonWriter.
The Lansa objects are compiled and checked into the iSeries.
All works great when we are signed on to the iSeries with our developer user IDs.
The issue is when a "normal" user is signed on and tries to execute the program call, and gets to the XPRIM requests.
We are trying to track down what the object is or what library is being referenced that the normal user does not have access or authority to?
The initial lib list for both our DEV user ID, and the normal user ID, are the same.
A difference in the profiles is one of the special authorities *ALLOBJ
If we add *ALLOBJ to the normal user profile, then it will work, but we do not feel this is the correct solution.
Does anyone know of Lansa documentation the specifically deals with user or profile authority for XPRIM objects?
In our server module, we have the pgm write out the incoming/return parms to a log file right before the XPRIM_HttpRequest, and then again right after, so we can see the request and response parm values. Request parm values are logged, but all response parms are blank, and the Lansa Http request logging doesn't even show that a request went out?
I would have thought something might have shown up in the xErr logs, but nothing that I can find?
We have built a series of Server Modules that use the XPRIM_HttpRequest, XPRIM_UriBuilder, XPRIM_JsonWriter.
The Lansa objects are compiled and checked into the iSeries.
All works great when we are signed on to the iSeries with our developer user IDs.
The issue is when a "normal" user is signed on and tries to execute the program call, and gets to the XPRIM requests.
We are trying to track down what the object is or what library is being referenced that the normal user does not have access or authority to?
The initial lib list for both our DEV user ID, and the normal user ID, are the same.
A difference in the profiles is one of the special authorities *ALLOBJ
If we add *ALLOBJ to the normal user profile, then it will work, but we do not feel this is the correct solution.
Does anyone know of Lansa documentation the specifically deals with user or profile authority for XPRIM objects?
In our server module, we have the pgm write out the incoming/return parms to a log file right before the XPRIM_HttpRequest, and then again right after, so we can see the request and response parm values. Request parm values are logged, but all response parms are blank, and the Lansa Http request logging doesn't even show that a request went out?
I would have thought something might have shown up in the xErr logs, but nothing that I can find?