|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/roles-and-permissions-in-laravel/
课程评论:没有评论
课程名称:Laravel中的角色与权限:实用指南 课程概述:在本课程中,我们将学习如何在Laravel中实现角色和权限,而不使用任何第三方包。您在这里获得的知识可以应用于任何Laravel项目,此种方法使得实现更加灵活,并且由于不依赖于外部包,新的功能可以更轻松地添加。在实现角色/权限功能的过程中,我们将学习以下主题: - 如何定义可重用的自定义Blade指令 - 如何在基于Filament的应用程序中实现角色/权限(前端和后端) - 如何在基于Inertia的应用程序中实现角色/权限 - 学习如何使用Inertia的中间件传递与权限相关的数据,并在前端进行相应的检查 - 创建TODO的CRUD,并相应地进行前后端检查 - 使用Laravel中间件定义所有权限的Gate - 创建Laravel策略并使用权限来授予用户授权 - 定义用户/角色/权限的Seeder,以确保我们在部署时应用正常运行 - 最后,学习如何实施灵活的解决方案,以便于根据需求扩展系统 除了以上概念外,我们还将: - 学习每个PHP/Laravel开发者必须使用的基本VS Code扩展 - 学习一些提示和技巧 - 以及更多内容 通过本课程,您将掌握Laravel中角色和权限的实现技巧,为您后续的开发奠定坚实基础。
In this course, we will learn to implement Roles and Permissions in Laravel without using any third-party packages.The knowledge that you gain here can be applied to any Laravel Project, this approach makes the implementation flexible, and new features can be easily added since we don't depend on any external packages.While implementing the Roles/Permissions functionality, we will learn about the following topics:Learn how to Define Reusable Custom Blade directivesLearn how to Implement Roles/Permissions in a Filament based application (both frontend and backend)Learn how to Implement Roles/Permissions in an Inertia-based application.Also, learn how to use the middleware of Inertia to pass Permission-related data and implement checks accordingly on the front end.Create CRUD for TODOs and implement checks accordingly (on both frontend and backend)Define Gates using Laravel Middleware for all the available permissions. Create Laravel Policies and use Permissions to authorize users.Define Seeders for Users/Roles/Permissions to ensure that our App works without any issues when deploying it.Finally, Learn how to implement a flexible solution which makes it easier to scale the system later depending on the needs.Along with the above concepts, we will also: Learn about the essential VS Code extensions every PHP/Laravel developer must use.Learn a few tips/tricks along the wayAnd many more