Merge branch 'kbudisantoso/hotfix-show-component-rules-editor-if-evnvar' into 'master'

Update admin-side-nav.component.ts to show component rules editor also if the...

See merge request redactmanager/red-ui!134
This commit is contained in:
Dan Percic 2023-10-09 12:35:28 +02:00
commit 878492deea

View File

@ -102,7 +102,7 @@ export class AdminSideNavComponent implements OnInit {
{
screen: 'component-rules',
label: _('admin-side-nav.component-rule-editor'),
show: this.isDocumine && this.isIqserDevMode && this._permissionsService.has(Roles.rules.read),
show: this.isDocumine && (this.isIqserDevMode || this.canAccessRulesInDocumine) && this._permissionsService.has(Roles.rules.read),
},
{
screen: 'default-colors',