Yii Framework extension for access checks on active record level