fix: [Sharing groups] UUID and owner org shouldn't be editable
parent
c4a4512175
commit
19c81b7c11
|
@ -71,6 +71,7 @@ class SharingGroupsController extends AppController
|
|||
if (empty($currentUser['role']['perm_admin'])) {
|
||||
$params['conditions'] = ['organisation_id' => $currentUser['organisation_id']];
|
||||
}
|
||||
$params['fields'] = ['name', 'releasability', 'description', 'active'];
|
||||
$this->CRUD->edit($id, $params);
|
||||
$responsePayload = $this->CRUD->getResponsePayload();
|
||||
if (!empty($responsePayload)) {
|
||||
|
|
Loading…
Reference in New Issue