Closed anony253 closed 4 years ago
I assume this is not compatible with permission wildcards, as I can't get it to work
using: {{ this.$laravel.getPermissions() }} results in [ "*.view", "*.create" ] but v-can="'users.create'" doesn't trigger
{{ this.$laravel.getPermissions() }}
[ "*.view", "*.create" ]
v-can="'users.create'"
Ref: Spatie wildcard permissions docs
Could you please add support for wildcards ?
Great idea, I'll work on it!
Resolved in v2.0.0! 🎉
I assume this is not compatible with permission wildcards, as I can't get it to work
using:
{{ this.$laravel.getPermissions() }}
results in[ "*.view", "*.create" ]
butv-can="'users.create'"
doesn't triggerRef: Spatie wildcard permissions docs
Could you please add support for wildcards ?