A Yii ActiveRecordBehavior that automatically applies conditions for access restriction to every query.