Merge branch 'DM-424-1' into 'master'

DM-424, disregard config flag for rule editor accesibility

Closes DM-424

See merge request redactmanager/red-ui!86
This commit is contained in:
Dan Percic 2023-09-18 09:16:27 +02:00
commit ee323df38d

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',