fix: [ACL] added all new functionalities

pull/67/head
iglocska 2021-06-28 23:55:24 +02:00
parent 0472108cc3
commit f22ad57575
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 46 additions and 0 deletions

View File

@ -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' => ['*']
]
);