chg: [users:edit] Added role associated data for the user to be edited
parent
1b47b669ff
commit
6945e602b8
|
@ -189,7 +189,8 @@ class UsersController extends AppController
|
|||
],
|
||||
'fields' => [
|
||||
'password', 'confirm_password'
|
||||
]
|
||||
],
|
||||
'contain' => ['Roles', ],
|
||||
];
|
||||
if ($this->request->is(['get'])) {
|
||||
$params['fields'] = array_merge($params['fields'], ['individual_id', 'role_id', 'disabled']);
|
||||
|
|
Loading…
Reference in New Issue