Comparing
#3 with
#4
Content
[...]
```php
public function rules() {
return array(
// other rules here
array('denyallow') // default allow
);
}
```
Even those not implementing this article's technique would do well to add the default-allow rule even though it would be handled by Yii automatically so that others reading the code would **know** this was intended behavior.[...]