Button removed when user does not have permissions
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Pau 2022-10-17 09:20:45 +02:00
parent 1603619d81
commit 0cdee89ac3
1 changed files with 1 additions and 3 deletions

View File

@ -59,8 +59,6 @@
supplier="$ctrl.supplierSelected">
</vn-supplier-summary>
</vn-popup>
<!--vn-float-button vn-acl="administrative" icon="add" ng-click="$ctrl.test()" fixed-bottom-right vn-tooltip="New supplier"></vn-float-button>
-->
<a vn-acl="administrative" ui-sref="supplier.create" vn-tooltip="New supplier" vn-bind="+" fixed-bottom-right>
<a vn-acl-action="remove" vn-acl="administrative" ui-sref="supplier.create" vn-tooltip="New supplier" vn-bind="+" fixed-bottom-right>
<vn-float-button icon="add"></vn-float-button>
</a>