fix: [authkeys] correctly filter the api keys on the user view
parent
17a230aee4
commit
0472108cc3
|
@ -15,7 +15,7 @@ class RolesController extends AppController
|
|||
public function index()
|
||||
{
|
||||
$this->CRUD->index([
|
||||
'filters' => ['name', 'uuid', 'perm_admin'],
|
||||
'filters' => ['name', 'uuid', 'perm_admin', 'Users.id'],
|
||||
'quickFilters' => ['name']
|
||||
]);
|
||||
if ($this->ParamHandler->isRest()) {
|
||||
|
|
|
@ -43,12 +43,12 @@ echo $this->element(
|
|||
],
|
||||
'children' => [
|
||||
[
|
||||
'url' => '/AuthKeys/index?users_id={{0}}',
|
||||
'url' => '/AuthKeys/index?Users.id={{0}}',
|
||||
'url_params' => ['id'],
|
||||
'title' => __('Authentication keys')
|
||||
],
|
||||
[
|
||||
'url' => '/EncryptionKeys/index?users_id={{0}}',
|
||||
'url' => '/EncryptionKeys/index?Users.id={{0}}',
|
||||
'url_params' => ['id'],
|
||||
'title' => __('Encryption keys')
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue