I am facing an authorization issue on the Integration Server.
I have developed a REST Service which checks the state of each IS package. In order to perform the check
that service calls wm.server.packages:packageList to get the complete list of available packages and then iterates over the returned array.
Unfortunately most of the Wm* packages set the “Package List ACL” to “Developers”.
As the user that requests the REST resource is not a member of this group, the wm.server.packages:packageList
does not return the complete list. When i call the REST service with the Administrator user everything is working fine.
(As a workaorund i put the requesting user into my admin group, so the wm.server.packages:packageList returns all packages - but i do not want that user to be part of our administrators)
Is there a way to run the wm.server.packages:packageList service (or other services) within my service implementation with another user (maybe the Administrator) than the user from the originally HTTP Request?