Skip to content

EspoCRM – Open Source CRM Application

categories disable if not read access

Yurii9d7d9ac29c68
diff --git a/client/src/views/list-with-categories.js b/client/src/views/list-with-categories.js
index 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;