Skip to content

Commit d9b9d44

Browse files
committed
UI: Fix assets page permissions for customer
1 parent c813d41 commit d9b9d44

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ui-ngx/src/app/modules/home/pages/asset/asset-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const routes: Routes = [
3939
path: '',
4040
component: EntitiesTableComponent,
4141
data: {
42-
auth: [Authority.SYS_ADMIN, Authority.TENANT_ADMIN],
42+
auth: [Authority.TENANT_ADMIN, Authority.CUSTOMER_USER],
4343
title: 'asset.assets',
4444
assetsType: 'tenant'
4545
},

ui-ngx/src/app/modules/home/pages/customer/customer-routing.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ const routes: Routes = [
178178
icon: 'domain'
179179
} as BreadCrumbConfig<EntityDetailsPageComponent>,
180180
auth: [Authority.TENANT_ADMIN],
181-
title: 'customer.assets'
181+
title: 'customer.assets',
182+
assetsType: 'customer'
182183
},
183184
resolve: {
184185
entitiesTableConfig: AssetsTableConfigResolver

0 commit comments

Comments
 (0)