laravel的Gates

Gates are simply closures that determine if a user is authorized to perform a given action.

 

参考资料:

https://laravel.com/docs/9.x/authorization

posted @ 2022-04-28 01:11  jamstack  阅读(22)  评论(0编辑  收藏  举报