Skip to content

Commit

Permalink
Add note about missing permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Feb 19, 2024
1 parent 7640c59 commit 780dbcd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pages/22.upgrading/02.50-to-51/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@ $ php bakery bake

### Migrating your Sprinkles

#### Missing default permissions

Some build-in permissions [were missing from the database](https://github.com/userfrosting/UserFrosting/issues/1225). Run `php bakery seed` and select `UserFrosting\Sprinkle\Account\Database\Seeds\DefaultPermissions` to install them. You can now add them to existing roles if desired.

Added permissions :
- `uri_role`
- `uri_roles`
- `uri_permissions`
- `view_role_field`

#### `urlFor` service change

When calling [`urlFor`](/templating-with-twig/filters-and-functions#urlfor) **in PHP** (not Twig) to generate a route from it's name, the service as been replace. Find and replace the following import to upgrade:
Expand Down

0 comments on commit 780dbcd

Please sign in to comment.