diff --git a/src/components/CreateNewPostcodeForm.vue b/src/components/CreateNewPostcodeForm.vue index e6247226e..14f629c42 100644 --- a/src/components/CreateNewPostcodeForm.vue +++ b/src/components/CreateNewPostcodeForm.vue @@ -104,7 +104,7 @@ async function setProvince(id, data) { option-label="name" option-value="id" :rules="validate('postcode.city')" - :roles-allowed-to-create="['deliveryAssistant']" + :acls="[{ model: 'Town', props: '*', accessType: 'WRITE' }]" :emit-value="false" clearable > diff --git a/src/components/VnSelectProvince.vue b/src/components/VnSelectProvince.vue index ea10ace19..2f08db611 100644 --- a/src/components/VnSelectProvince.vue +++ b/src/components/VnSelectProvince.vue @@ -38,7 +38,7 @@ async function onProvinceCreated(_, data) { hide-selected v-model="provinceFk" :rules="validate && validate('postcode.provinceFk')" - :roles-allowed-to-create="['deliveryAssistant']" + :acls="[{ model: 'Province', props: '*', accessType: 'WRITE' }]" >