johnitvn / yii2-rbac-plus

Database role base access control manager for yii2
49 stars 52 forks source link

Roles save #39

Open v-av opened 5 years ago

v-av commented 5 years ago

https://github.com/johnitvn/yii2-rbac-plus/blob/693b137ad6e5fd1919f9c025c7bf25ce3ee611b1/src/controllers/AssignmentController.php#L61

if ($request->isPost) { $formModel->load(Yii::$app->request->post()); $formModel->save(); }

Up to line 58, before if ($request->isAjax) {

neoacevedo commented 5 years ago

I made it sometime ago in this repo: https://gitlab.com/neoacevedo/yii2-rbac-plus And I have fixed another old issues.