mirror of https://github.com/MISP/MISP
Merge branch '2.4' into develop
commit
51821b5de2
|
@ -83,6 +83,7 @@ class AuthKeysController extends AppController
|
|||
return $authKey;
|
||||
},
|
||||
'fields' => ['comment', 'allowed_ips', 'expiration'],
|
||||
'contain' => ['User.id', 'User.org_id']
|
||||
]);
|
||||
if ($this->IndexFilter->isRest()) {
|
||||
return $this->restResponsePayload;
|
||||
|
|
|
@ -161,7 +161,7 @@ class CRUDComponent extends Component
|
|||
$query = isset($params['get']) ? $params['get'] : [
|
||||
'recursive' => -1,
|
||||
'conditions' => [
|
||||
'id' => $id
|
||||
$modelName . '.id' => $id
|
||||
],
|
||||
];
|
||||
if (!empty($params['conditions'])) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Data visibility for Sync-users
|
||||
# Data visibility for Sync-users and MISP synchronisation
|
||||
|
||||
Sync-users are used to serve as the point of connection between instances.
|
||||
Typically, events pushed to an instance are created via a sync-user account residing on the remote instance.
|
||||
|
|
Loading…
Reference in New Issue