Troubleshoot: Missing resource-level policy for a command
A controller command, that does resource level access control checking, was extended without adding the resource-level access control policy for the new commandProblem: A controller command, that does resource level access control checking, was extended without adding the resource-level access control policy for the new command
Indication: An application error is displayed. In the trace.log file indicates failure on the resource-level policy check as shown in the following example:
PolicyManagerImpl.isAllowed isAllowed? User=510; Action=com.xyz.MyOrderItemAddCmd; Resource=com.ibm.commerce.order.objects._Order_Stub;; Owner=2002; Resource Ancestor Orgs=2002,-2001; Resource Applicable Orgs=2002 ... PolicyManagerImpl.isAllowed PASSED? =falseSolution:
- Load a new action and associate it with the action groups of the underlying WebSphere Commerce command. Refer to Access control implications when a controller command is extended.
Related tasks
Modifying access control on existing WebSphere Commerce resourcesRelated reference
Sample: Access control policies for development purposes
acpload utility