Skip to content

EspoCRM – Open Source CRM Application

scope definition fix

Yuriie307554c50ce
diff --git a/application/Espo/Modules/Crm/Resources/metadata/scopes/Account.json b/application/Espo/Modules/Crm/Resources/metadata/scopes/Account.json
index ef9ef976a9..a0732972a4 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/scopes/Account.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/scopes/Account.json
@@ -3,7 +3,8 @@
"layouts": true,
"tab": true,
"acl": true,
- "aclPortal": "recordAllAccountNo",
+ "aclPortal": true,
+ "aclPortalLevelList": ["all", "account", "no"],
"module": "Crm",
"customizable": true,
"stream": true,
diff --git a/application/Espo/Modules/Crm/Resources/metadata/scopes/Call.json b/application/Espo/Modules/Crm/Resources/metadata/scopes/Call.json
index d2f7048fad..0d7a5dd984 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/scopes/Call.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/scopes/Call.json
@@ -3,7 +3,8 @@
"layouts": true,
"tab": true,
"acl": true,
- "aclPortal": "recordAllAccountContactOwnNo",
+ "aclPortal": true,
+ "aclPortalLevelList": ["all", "account", "contact", "own", "no"],
"module": "Crm",
"customizable": true,
"importable": true,
diff --git a/application/Espo/Modules/Crm/Resources/metadata/scopes/Contact.json b/application/Espo/Modules/Crm/Resources/metadata/scopes/Contact.json
index c26a814729..cbb0572472 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/scopes/Contact.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/scopes/Contact.json
@@ -3,7 +3,8 @@
"layouts":true,
"tab":true,
"acl":true,
- "aclPortal": "recordAllAccountContactNo",
+ "aclPortal": true,
+ "aclPortalLevelList": ["all", "account", "contact", "no"],
"module":"Crm",
"customizable": true,
"stream": true,
diff --git a/application/Espo/Modules/Crm/Resources/metadata/scopes/Lead.json b/application/Espo/Modules/Crm/Resources/metadata/scopes/Lead.json
index f9245421c6..4393791fa8 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/scopes/Lead.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/scopes/Lead.json
@@ -3,7 +3,8 @@
"layouts": true,
"tab": true,
"acl": true,
- "aclPortal": "recordAllOwnNo",
+ "aclPortal": true,
+ "aclPortalLevelList": ["all", "own", "no"],
"module": "Crm",
"customizable": true,
"stream": true,
diff --git a/application/Espo/Modules/Crm/Resources/metadata/scopes/Meeting.json b/application/Espo/Modules/Crm/Resources/metadata/scopes/Meeting.json
index 5f9500be69..bf09a8c533 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/scopes/Meeting.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/scopes/Meeting.json
@@ -3,7 +3,8 @@
"layouts": true,
"tab": true,
"acl": true,
- "aclPortal": "recordAllAccountContactOwnNo",
+ "aclPortal": true,
+ "aclPortalLevelList": ["all", "account", "contact", "own", "no"],
"module": "Crm",
"customizable": true,
"importable": true,
diff --git a/application/Espo/Modules/Crm/Resources/metadata/scopes/Opportunity.json b/application/Espo/Modules/Crm/Resources/metadata/scopes/Opportunity.json
index 2101936793..4e25021a0a 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/scopes/Opportunity.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/scopes/Opportunity.json
@@ -3,7 +3,8 @@
"layouts": true,
"tab": true,
"acl": true,
- "aclPortal": "recordAllAccountContactOwnNo",
+ "aclPortal": true,
+ "aclPortalLevelList": ["all", "account", "contact", "own", "no"],
"module": "Crm",
"customizable": true,
"stream": true,