williamcruzme / vue-gates

🔒 A Vue.js & Nuxt.js plugin that allows you to use roles and permissions in your components or DOM elements, also compatible as middleware and methods.
https://williamcruzme.github.io/vue-gates/
MIT License
263 stars 31 forks source link

Alias not supporting arguments #18

Closed anony253 closed 4 years ago

anony253 commented 4 years ago

<!-- Alias --> <button v-can="'add articles'">Add Article</button> Check for any permission in a list: <button v-permission:any="'add articles|edit articles'">Configure</button>

you can't actually use v-can:any but would be really nice

williamcruzme commented 4 years ago

Resolved in v2.0.0! 🎉