Is it unprecedented for a candidate to authorize security or local law enforcement to deny attendance to rallies to those who may not support the candidate?

I can't recall ever hearing of this.

Just an honest, non-partisan question.