DEV Community

Discussion on: Laravel Nova: Adding custom buttons to resource toolbars

atmonshi profile image
Ashraf Monshi

thanks for sharing this , really great .

I was following the issue on GitHub and I was looking for a way to add authorization to the buttons , is there a way around it ?

I have polices but how I can get that in vuejs component ?

thank you so much .

jake profile image
Jake Casto Author

Yes! When you add the resource tool to the model use the canSee method you use to hide fields and stuff. More info here