Merge branch 'develop' into main
commit
72b98acd23
|
@ -51,15 +51,31 @@ class ACLComponent extends Component
|
|||
'Broods' => [
|
||||
'add' => ['perm_admin'],
|
||||
'delete' => ['perm_admin'],
|
||||
'downloadIndividual' => ['perm_admin'],
|
||||
'downloadOrg' => ['perm_admin'],
|
||||
'downloadSharingGroup' => ['perm_admin'],
|
||||
'edit' => ['perm_admin'],
|
||||
'index' => ['perm_admin'],
|
||||
'interconnectTools' => ['perm_admin'],
|
||||
'previewIndex' => ['perm_admin'],
|
||||
'testConnection' => ['perm_admin'],
|
||||
'view' => ['perm_admin']
|
||||
],
|
||||
'EncryptionKeys' => [
|
||||
'add' => ['*'],
|
||||
'edit' => ['*'],
|
||||
'delete' => ['*'],
|
||||
'index' => ['*']
|
||||
],
|
||||
'Inbox' => [
|
||||
'createEntry' => ['perm_admin', 'perm_sync'],
|
||||
'delete' => ['perm_admin'],
|
||||
'filtering' => ['perm_admin'],
|
||||
'index' => ['perm_admin'],
|
||||
'listProcessors' => ['perm_admin', 'perm_sync'],
|
||||
'process' => ['perm_admin'],
|
||||
'view' => ['perm_admin'],
|
||||
],
|
||||
'Individuals' => [
|
||||
'add' => ['perm_admin'],
|
||||
'delete' => ['perm_admin'],
|
||||
|
@ -69,8 +85,25 @@ class ACLComponent extends Component
|
|||
],
|
||||
'Instance' => [
|
||||
'home' => ['*'],
|
||||
'migrate' => ['perm_admin'],
|
||||
'migrationIndex' => ['perm_admin'],
|
||||
'rollback' => ['perm_admin'],
|
||||
'status' => ['*']
|
||||
],
|
||||
'LocalTools' => [
|
||||
'action' => ['perm_admin'],
|
||||
'add' => ['perm_admin'],
|
||||
'broodTools' => ['perm_admin'],
|
||||
'connectionRequest' => ['perm_admin'],
|
||||
'connectLocal' => ['perm_admin'],
|
||||
'delete' => ['perm_admin'],
|
||||
'edit' => ['perm_admin'],
|
||||
'exposedTools' => ['perm_admin'],
|
||||
'index' => ['perm_admin'],
|
||||
'connectorIndex' => ['perm_admin'],
|
||||
'view' => ['perm_admin'],
|
||||
'viewConnector' => ['perm_admin']
|
||||
],
|
||||
'MetaTemplateFields' => [
|
||||
'index' => ['perm_admin']
|
||||
],
|
||||
|
@ -79,15 +112,26 @@ class ACLComponent extends Component
|
|||
'enable' => ['perm_admin'],
|
||||
'index' => ['perm_admin'],
|
||||
'update' => ['perm_admin'],
|
||||
'toggle' => ['perm_admin'],
|
||||
'view' => ['perm_admin']
|
||||
],
|
||||
'Organisations' => [
|
||||
'add' => ['perm_admin'],
|
||||
'delete' => ['perm_admin'],
|
||||
'edit' => ['perm_admin'],
|
||||
'filtering' => ['*'],
|
||||
'index' => ['*'],
|
||||
'view' => ['*']
|
||||
],
|
||||
'Outbox' => [
|
||||
'createEntry' => ['perm_admin'],
|
||||
'delete' => ['perm_admin'],
|
||||
'filtering' => ['perm_admin'],
|
||||
'index' => ['perm_admin'],
|
||||
'listProcessors' => ['perm_admin'],
|
||||
'process' => ['perm_admin'],
|
||||
'view' => ['perm_admin']
|
||||
],
|
||||
'Pages' => [
|
||||
'display' => ['*']
|
||||
],
|
||||
|
@ -115,6 +159,8 @@ class ACLComponent extends Component
|
|||
'index' => ['perm_admin'],
|
||||
'login' => ['*'],
|
||||
'logout' => ['*'],
|
||||
'register' => ['*'],
|
||||
'toggle' => ['perm_admin'],
|
||||
'view' => ['*']
|
||||
]
|
||||
);
|
||||
|
|
|
@ -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