Flag Based Access Control for Yii 2