DM-424, disregard config flag for rule editor accesibility

This commit is contained in:
George 2023-09-18 10:15:31 +03:00
parent 46577a81b4
commit ef22ea5953

View File

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