diff --git a/src/router/modules/claim.js b/src/router/modules/claim.js index cced9e24d..ae794448e 100644 --- a/src/router/modules/claim.js +++ b/src/router/modules/claim.js @@ -61,7 +61,7 @@ export default { meta: { title: 'basicData', icon: 'vn:settings', - roles: ['salesPerson'], + acls: [{ model: 'Claim', props: 'findById', accessType: 'READ' }], }, component: () => import('src/pages/Claim/Card/ClaimBasicData.vue'), }, @@ -98,7 +98,13 @@ export default { meta: { title: 'development', icon: 'vn:traceability', - roles: ['claimManager'], + acls: [ + { + model: 'ClaimDevelopment', + props: '*', + accessType: 'WRITE', + }, + ], }, component: () => import('src/pages/Claim/Card/ClaimDevelopment.vue'), }, diff --git a/src/router/modules/invoiceIn.js b/src/router/modules/invoiceIn.js index 906db8a58..c8027ffbf 100644 --- a/src/router/modules/invoiceIn.js +++ b/src/router/modules/invoiceIn.js @@ -80,7 +80,6 @@ export default { meta: { title: 'basicData', icon: 'vn:settings', - roles: ['salesPerson'], }, component: () => import('src/pages/InvoiceIn/Card/InvoiceInBasicData.vue'), diff --git a/src/router/modules/shelving.js b/src/router/modules/shelving.js index 70145dfb4..b7f50a3b6 100644 --- a/src/router/modules/shelving.js +++ b/src/router/modules/shelving.js @@ -76,7 +76,6 @@ export default { meta: { title: 'basicData', icon: 'vn:settings', - roles: ['salesPerson'], }, component: () => import('pages/Shelving/Card/ShelvingForm.vue'), },