UI: Fix assets page permissions for customer
This commit is contained in:
parent
c813d41abe
commit
d9b9d44e39
@ -39,7 +39,7 @@ const routes: Routes = [
|
|||||||
path: '',
|
path: '',
|
||||||
component: EntitiesTableComponent,
|
component: EntitiesTableComponent,
|
||||||
data: {
|
data: {
|
||||||
auth: [Authority.SYS_ADMIN, Authority.TENANT_ADMIN],
|
auth: [Authority.TENANT_ADMIN, Authority.CUSTOMER_USER],
|
||||||
title: 'asset.assets',
|
title: 'asset.assets',
|
||||||
assetsType: 'tenant'
|
assetsType: 'tenant'
|
||||||
},
|
},
|
||||||
|
|||||||
@ -178,7 +178,8 @@ const routes: Routes = [
|
|||||||
icon: 'domain'
|
icon: 'domain'
|
||||||
} as BreadCrumbConfig<EntityDetailsPageComponent>,
|
} as BreadCrumbConfig<EntityDetailsPageComponent>,
|
||||||
auth: [Authority.TENANT_ADMIN],
|
auth: [Authority.TENANT_ADMIN],
|
||||||
title: 'customer.assets'
|
title: 'customer.assets',
|
||||||
|
assetsType: 'customer'
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
entitiesTableConfig: AssetsTableConfigResolver
|
entitiesTableConfig: AssetsTableConfigResolver
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user