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.

Home Page:https://williamcruzme.github.io/vue-gates/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

superRole not working

wimil opened this issue · comments

commented

I have added the superRole setting, something strange happens with the v-permission directive it works, but with the $ gates.hasPermission() method it does not recognize the superRole.

Same issue. superRole works fine with vue directives but not with directives as functions.

Same here..

You're right! Fixing...

Any news on this issue?