UserHasRole condition implementation.