From 5da1c4147635248ace0aeb9601222a5764f32ac3 Mon Sep 17 00:00:00 2001 From: Joan Sanchez <joan@verdnatura.es> Date: Wed, 4 Mar 2020 12:51:29 +0100 Subject: [PATCH] Added ACL --- modules/client/front/address/create/index.html | 4 +++- modules/client/front/address/edit/index.html | 6 ++++-- modules/client/front/create/index.html | 4 +++- modules/client/front/fiscal-data/index.html | 4 +++- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/modules/client/front/address/create/index.html b/modules/client/front/address/create/index.html index ef4c869f12..519638d48d 100644 --- a/modules/client/front/address/create/index.html +++ b/modules/client/front/address/create/index.html @@ -57,7 +57,9 @@ <vn-icon-button icon="add_circle" vn-tooltip="New postcode" - ng-click="postcode.open()"> + ng-click="postcode.open()" + vn-acl="deliveryBoss" + vn-acl-action="remove"> </vn-icon-button> </append> </vn-datalist> diff --git a/modules/client/front/address/edit/index.html b/modules/client/front/address/edit/index.html index 8775993774..70b3523c5c 100644 --- a/modules/client/front/address/edit/index.html +++ b/modules/client/front/address/edit/index.html @@ -71,10 +71,12 @@ {{town.province.country.country}}) </tpl-item> <append> - <vn-icon-button + <vn-icon-button icon="add_circle" vn-tooltip="New postcode" - ng-click="postcode.open()"> + ng-click="postcode.open()" + vn-acl="deliveryBoss" + vn-acl-action="remove"> </vn-icon-button> </append> </vn-datalist> diff --git a/modules/client/front/create/index.html b/modules/client/front/create/index.html index 8d44aaae00..b2ef42beb2 100644 --- a/modules/client/front/create/index.html +++ b/modules/client/front/create/index.html @@ -67,7 +67,9 @@ <vn-icon-button icon="add_circle" vn-tooltip="New postcode" - ng-click="postcode.open()"> + ng-click="postcode.open()" + vn-acl="deliveryBoss" + vn-acl-action="remove"> </vn-icon-button> </append> </vn-datalist> diff --git a/modules/client/front/fiscal-data/index.html b/modules/client/front/fiscal-data/index.html index 1cda1fc8ad..0339090a2a 100644 --- a/modules/client/front/fiscal-data/index.html +++ b/modules/client/front/fiscal-data/index.html @@ -51,7 +51,9 @@ <vn-icon-button icon="add_circle" vn-tooltip="New postcode" - ng-click="postcode.open()"> + ng-click="postcode.open()" + vn-acl="deliveryBoss" + vn-acl-action="remove"> </vn-icon-button> </append> </vn-datalist>