Laravel-Backpack / PermissionManager

Admin interface for managing users, roles, permissions, using Backpack CRUD
http://backpackforlaravel.com
Other
516 stars 166 forks source link

Update spatie/laravel-permission requirement from ^3.0 to ^4.0 #266

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on spatie/laravel-permission to permit the latest version.

Changelog

Sourced from spatie/laravel-permission's changelog.

4.0.0 - 2021-01-27

  • Drop support on Laravel 5.8 #1615
  • Fix bug when adding roles to a model that doesn't yet exist #1663
  • Enforce unique constraints on database level #1261
  • Changed PermissionRegistrar::initializeCache() public to allow reinitializing cache in custom situations. #1521
  • Use Eloquent\Collection instead of Support\Collection for consistency, collection merging, etc #1630

This package now requires PHP 7.2.5 and Laravel 6.0 or higher. If you are on a PHP version below 7.2.5 or a Laravel version below 6.0 you can use an older version of this package.

3.18.0 - 2020-11-27

  • Allow PHP 8.0

3.17.0 - 2020-09-16

  • Optional $guard parameter may be passed to RoleMiddleware, PermissionMiddleware, and RoleOrPermissionMiddleware. See #1565

3.16.0 - 2020-08-18

  • Added Laravel 8 support

3.15.0 - 2020-08-15

  • Change users relationship type to BelongsToMany

3.14.0 - 2020-08-15

  • Declare table relations earlier to improve guarded/fillable detection accuracy (relates to Aug 2020 Laravel security patch)

3.13.0 - 2020-05-19

  • Provide migration error text to stop caching local config when installing packages.

3.12.0 - 2020-05-14

  • Add missing config setting for display_role_in_exception
  • Ensure artisan permission:show command uses configured models

3.11.0 - 2020-03-03

  • Allow guardName() as a function with priority over $guard_name property #1395

3.10.1 - 2020-03-03

  • Update patch to handle intermittent error in #1370

3.10.0 - 2020-03-02

  • Ugly patch to handle intermittent error: Trying to access array offset on value of type null in #1370

3.9.0 - 2020-02-26

  • Add Wildcard Permissions feature #1381 (see PR or docs for details)

3.8.0 - 2020-02-18

  • Clear in-memory permissions on boot, for benefit of long running processes like Swoole. #1378

3.7.2 - 2020-02-17

  • Refine test for Lumen dependency. Ref #1371, Fixes #1372.

... (truncated)

Commits
  • 7936ea9 Update CHANGELOG.md
  • 4b9f076 Update CHANGELOG.md
  • 63047ef Merge pull request #1663 from damcclean/master
  • 224fac2 Updates #975 to avoid static var and fix #1663
  • df4e9c6 Updates #975 to avoid static var and fix #1663
  • 8f02175 Update the HasPermissionsTest to cover the bug
  • 33dedec Update the HasRolesTest to cover the bug
  • dd11a4d Merge branch 'master' of github.com:damcclean/laravel-permission
  • bd8ec48 Apply the same fix to the HasPermissions trait
  • 1ba2a28 Fix bug when adding roles to a model that doesn't yet exist
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Looks like spatie/laravel-permission is up-to-date now, so this is no longer needed.