forked from verdnatura/salix-front
refactor: refs #4074 use acl & drop useless roles
This commit is contained in:
parent
6438f36eca
commit
381b236a18
|
@ -61,7 +61,7 @@ export default {
|
||||||
meta: {
|
meta: {
|
||||||
title: 'basicData',
|
title: 'basicData',
|
||||||
icon: 'vn:settings',
|
icon: 'vn:settings',
|
||||||
roles: ['salesPerson'],
|
acls: [{ model: 'Claim', props: 'findById', accessType: 'READ' }],
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Claim/Card/ClaimBasicData.vue'),
|
component: () => import('src/pages/Claim/Card/ClaimBasicData.vue'),
|
||||||
},
|
},
|
||||||
|
@ -98,7 +98,13 @@ export default {
|
||||||
meta: {
|
meta: {
|
||||||
title: 'development',
|
title: 'development',
|
||||||
icon: 'vn:traceability',
|
icon: 'vn:traceability',
|
||||||
roles: ['claimManager'],
|
acls: [
|
||||||
|
{
|
||||||
|
model: 'ClaimDevelopment',
|
||||||
|
props: '*',
|
||||||
|
accessType: 'WRITE',
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Claim/Card/ClaimDevelopment.vue'),
|
component: () => import('src/pages/Claim/Card/ClaimDevelopment.vue'),
|
||||||
},
|
},
|
||||||
|
|
|
@ -80,7 +80,6 @@ export default {
|
||||||
meta: {
|
meta: {
|
||||||
title: 'basicData',
|
title: 'basicData',
|
||||||
icon: 'vn:settings',
|
icon: 'vn:settings',
|
||||||
roles: ['salesPerson'],
|
|
||||||
},
|
},
|
||||||
component: () =>
|
component: () =>
|
||||||
import('src/pages/InvoiceIn/Card/InvoiceInBasicData.vue'),
|
import('src/pages/InvoiceIn/Card/InvoiceInBasicData.vue'),
|
||||||
|
|
|
@ -76,7 +76,6 @@ export default {
|
||||||
meta: {
|
meta: {
|
||||||
title: 'basicData',
|
title: 'basicData',
|
||||||
icon: 'vn:settings',
|
icon: 'vn:settings',
|
||||||
roles: ['salesPerson'],
|
|
||||||
},
|
},
|
||||||
component: () => import('pages/Shelving/Card/ShelvingForm.vue'),
|
component: () => import('pages/Shelving/Card/ShelvingForm.vue'),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue