Class TrackableEntityPolicyEvaluator

java.lang.Object
com.broadleafcommerce.data.tracking.core.policy.trackable.TrackableEntityPolicyEvaluator
All Implemented Interfaces:
PolicyEvaluator

public class TrackableEntityPolicyEvaluator extends Object implements PolicyEvaluator
Default implementation of PermissionEvaluator responsible for checking the validity of a requested mutating method call on a Trackable entity given the current Spring Security authority and additional ContextInfo information.

This validation generally encapsulates checks not only against the current Spring Security principal granted authorities, but also against the application and catalog information in play and the user's authorization to read or mutate records for the application and/or catalog.

Author:
Jeff Fischer