Apr 25, 2018
Merge branch '3.5' into 3.6
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

@crynobone crynobone released this May 2, 2018 · 4 commits to master since this release

Assets 2

Added

  • Added Orchestra\Authorization\Authorization::canAs() and Orchestra\Authorization\Authorization::canIfAs() which you can send an instance of Orchestra\Contracts\Authorization\Authorizable to check authorization explicitly for the $user.

Changes

  • Update support to Laravel Framework 5.6.

@crynobone crynobone released this Apr 25, 2018 · 15 commits to master since this release

Assets 2

Added

  • Added Orchestra\Authorization\Authorization::canAs() and Orchestra\Authorization\Authorization::canIfAs() which you can send an instance of Orchestra\Contracts\Authorization\Authorizable to check authorization explicitly for the $user.

@crynobone crynobone released this Nov 28, 2017 · 18 commits to master since this release

Assets 2

Changes

  • Split Orchestra\Authorization\Fluent to Orchestra\Authorization\Action and Orchestra\Authorization\Role.

@crynobone crynobone released this Oct 3, 2017 · 22 commits to master since this release

Assets 2

Changes

  • Update support to Laravel Framework 5.5.
Jan 21, 2017
Merge branch '3.3'
Signed-off-by: crynobone <crynobone@gmail.com>

@crynobone crynobone released this May 3, 2017

Assets 2

Changes

  • Update support to Laravel Framework 5.4.

@crynobone crynobone released this Jul 27, 2016 · 1 commit to 3.3 since this release

Assets 2
  • Rename Orchestra\Authorization\AuthorizationTrait to Orchestra\Authorization\Permission.
  • Always setup roles to be an instance of Illuminate\Support\Collection for consistency.

@crynobone crynobone released this Mar 18, 2016 · 109 commits to master since this release

Assets 2
  • Rename Orchestra\Authorization\AuthorizationTrait to Orchestra\Authorization\Permission.
Mar 1, 2016
Fixes authorization to support multiple roles.
Signed-off-by: crynobone <crynobone@gmail.com>