mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 22:30:27 +08:00
Update security-authorization.md (#16082) [skip ci]
This commit is contained in:
@ -599,7 +599,7 @@ If the creation of role parameters is a simple operation, you may just specify a
|
||||
'allow' => true,
|
||||
'actions' => ['update'],
|
||||
'roles' => ['updatePost'],
|
||||
'roleParams' => ['postId' => Yii::$app->request->get('id')];
|
||||
'roleParams' => ['postId' => Yii::$app->request->get('id')],
|
||||
],
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user