categories disable if not read access

This commit is contained in:
Yurii
2026-02-02 19:19:44 +02:00
parent d69db3689f
commit 9d7d9ac29c

View File

@@ -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;