Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Doc for Laravel 11 (Role Policy and Custom folder structure) #387

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

paulhenry46
Copy link
Contributor

Update Role Policy and Custom folder structure parts of the Doc following the changes introduced by Laravel 11 in particular those concerning the Service Providers.

Copy link

what-the-diff bot commented May 22, 2024

PR Summary

  • Improved Documentation for RolePolicy Usage
    Instructions have been added to the README file to explain how RolePolicy is used in Laravel 10 and Laravel 11.

  • Inclusion of Code Examples for Third-Party Policies
    Code examples have been incorporated to demonstrate how to register policies for third-party plugins and models in Laravel 10 and Laravel 11.

  • Updated Code Examples for Registering Policies
    The PR also tackles the registering policies for models in Laravel 11. It specificially updates the code examples to include the \App\Models\Blog\Author and \Ramnzys\FilamentEmailLog\Models\Email classes.

  • Note on Role Assignments via Filament Forms
    A significant addition to the documentation is a note explaining how to assign roles to users by leveraging the Select or CheckboxList component from Filament Forms.

@bezhanSalleh bezhanSalleh merged commit 6666794 into bezhanSalleh:3.x Sep 2, 2024
1 check passed
@bezhanSalleh
Copy link
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants