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

[10.x] upgrade doc updated for removed registerPolicies method #8584

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
- [Relation `getBaseQuery` Method](#relation-getbasequery-method)
- [The `Redirect::home` Method](#redirect-home)
- [The `Bus::dispatchNow` Method](#dispatch-now)
- [The `registerPolicy` Method](#register-policy)
- [ULID Columns](#ulid-columns)

</div>
Expand Down Expand Up @@ -108,6 +109,15 @@ If your application is customizing its "public path" by binding `path.public` in
app()->usePublicPath(__DIR__.'/public');
```

### Authorization

<a name="register-policy"></a>
### The `registerPolicy` Method

**Likelihood Of Impact: Low**

The `registerPolicies` method of the `AuthServiceProvider` is now invoked automatically by the framework. Therefore, you may remove the call to this method from the `boot` method of your application's `AuthServiceProvider`.

### Cache

<a name="redis-cache-tags"></a>
Expand Down