diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts index 0150597b50..c01379bb95 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts @@ -466,7 +466,8 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC this.singlePageMode = data.singlePageMode; this.readonly = this.embedded || (this.singlePageMode && !this.widgetEditMode && !this.route.snapshot.queryParamMap.get('edit')) - || this.forceFullscreen || this.isMobileApp || this.authUser.authority === Authority.CUSTOMER_USER; + || this.forceFullscreen || this.isMobileApp || this.authUser.authority === Authority.CUSTOMER_USER || + this.route.snapshot.queryParamMap.get('readonly') === 'true'; this.dashboardCtx.aliasController = this.parentAliasController ? this.parentAliasController : new AliasController(this.utils, this.entityService,