yiisoft/yii — pull request #342 by claudejanz (2012-02-16 16:53:54+00:00)
Title: Update framework/web/auth/CAccessControlFilter.php

It would be nice to pass params to accessControl so that bizRules works.

I would like to do this in conroller:

```php
public function accessRules() {

return array(

array('allow',
'actions'=>array('update'),
'roles'=>array('updateActivity'=>array('activity'=>$this->activity)),
),

array('deny',
'users'=>array('*'),
),
);
}
```

with

```php
$bizRule='return ($params["activity"])?$params["activity"]->belongsToLogedUser():false;';
$task=$this->_authManager->createTask('updateOwnActivity','update a activity album by author himself',$bizRule);
$task->addChild('updateActivity');
```