Releases: spatie/laravel-permission
Releases · spatie/laravel-permission
6.21.0
What's Changed
- Allow removing multiple roles with the
removeRole
method by @TobMoeller in #2859 - [Docs] Correct middleware order for documentation example in
teams-permissions.md
by @dualklip in #2863
New Contributors
- @dualklip made their first contribution in #2863
- @TobMoeller made their first contribution in #2859
Full Changelog: 6.20.0...6.21.0
6.20.0
6.19.0
6.18.0
What's Changed
- refactor exception throwing in migration file to use throw_if() by @ccaioadriano in #2819
- Fix: Example in config comment includes
permission.
prefix onwildcard_permission
key by @jerrens in #2835 - Fix commented config key typo by @erikn69 in #2844
- Remove
collectPermissions
that is not being assigned by @JHWelch in #2840 - [Docs] Update multiple-guards.md by @Ken-vdE in #2836
- [Docs] Remove extra period by @coreyhn in #2841
- Add JetAdmin as UI Option. by @aliqasemzadeh in #2814
New Contributors
- @ccaioadriano made their first contribution in #2819
- @coreyhn made their first contribution in #2841
- @jerrens made their first contribution in #2835
- @Ken-vdE made their first contribution in #2836
- @JHWelch made their first contribution in #2840
Full Changelog: 6.17.0...6.18.0
6.17.0
6.16.0
What's Changed
- Middleware: support enums in role/permission middleware by @marklawntalk in #2813
New Contributors
- @marklawntalk made their first contribution in #2813
Full Changelog: 6.15.0...6.16.0
6.15.0
What's Changed
- Added 4 events for adding and removing roles or permissions by @sven-wegner in #2742
- Fixed bug of loading user roles of different teams to current team by @mohamedds-12 in #2803
New Contributors
- @sven-wegner made their first contribution in #2742
- @mohamedds-12 made their first contribution in #2803
Full Changelog: 6.14.0...6.15.0
6.14.0
What's Changed
- LDAP model lookup from Auth Provider by @crossplatformconsulting in #2750
Internals
New Contributors
- @crossplatformconsulting made their first contribution in #2750
Full Changelog: 6.13.0...6.14.0
6.13.0
What's Changed
- LazyLoading: Explicitly call
loadMissing('permissions')
when the relation is needed, and test withModel::preventLazyLoading()
by @erikn69 in #2776 - [Docs] Add instructions to reinitialize cache for multi-tenancy key settings when updating multiple tenants in a single request cycle, by @sudkumar in #2804
New Contributors
Full Changelog: 6.12.0...6.13.0