EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
categories disable if not read access
Yurii9d7d9ac29c68
diff --git a/client/src/views/list-with-categories.js b/client/src/views/list-with-categories.jsindex d2d980cdf8..10a261f4c5 100644--- a/client/src/views/list-with-categories.js+++ b/client/src/views/list-with-categories.js@@ -111,7 +111,7 @@ class ListWithCategories extends ListView {this.categoriesDisabled =this.categoriesDisabled ||this.getMetadata().get(['scopes', this.categoryScope, 'disabled']) ||- !this.getAcl().checkScope(this.categoryScope);+ !this.getAcl().checkScope(this.categoryScope, 'read');if (this.categoriesDisabled) {this.isExpanded = true;