Skip to content

Releases: live-controls/permissions

Version 1.1.2

21 Nov 12:43

Choose a tag to compare

Changes

  • Changed isAdmin() method in HasPermission trait to hasAdminPermission(). isAdmin() method is now used by live-controls/groups' HasGroup trait

Version 1.1.1

23 Jul 13:27

Choose a tag to compare

Additions

  • Added configuration file (publish with php artisan vendor:publish --tag="livecontrols.permissions.config")
  • Added root_users as array to configuration
  • Added check in isAdmin() which would return true if the user is inside the root_users configuration array

Version 1.1

23 Jul 12:47

Choose a tag to compare

Additions

  • Added LiveControls\Groups check to middleware and PermissionsHandler in case they're installed. (To install them use composer require live-controls/groups)

Version 1.0.2

22 Jul 17:33

Choose a tag to compare

Fixes

  • Fixed wrong namespaces

Version 1.0.1

22 Jul 17:31

Choose a tag to compare

Fixes

  • Fixed spelling error in composer.json file

Version 1.0

22 Jul 17:29

Choose a tag to compare

Initial version, this is a port from the old package https://www.github.com/daredloco/live-controls