Interface RoleAssignmentCandidatePredicate

All Superinterfaces:
BiPredicate<org.springframework.security.core.userdetails.UserDetails,BaseRole>
All Known Implementing Classes:
SameTenantRoleAssignmentCandidatePredicate

public interface RoleAssignmentCandidatePredicate extends BiPredicate<org.springframework.security.core.userdetails.UserDetails,BaseRole>
Interface to provide predicate to test the possibility to assign some role to specific user. Accepts the role to be assigned and the target user.