Looking at the logs one could see following kind of error
com.aptrix.pluto.security.AuthorisationException: IWKPY1015X:
Unauthorised access by {{
The surprising thing is this happens in-spite of giving "Anonymous user access"
When looked at the details found following
In Websphere Portal 8, WCM API calls from custom JSPs by default relies on "Contributor" access to the target content.
If one wants to override this rule could place following call just before the getById() call.
workspace.useUserAccess(true)
Ref: https://www-304.ibm.com/support/docview.wss?uid=swg21399507
No comments:
Post a Comment