Bristol SU Support Package
|
Public Member Functions | |
__construct (Authentication $authentication) | |
handle (Request $request, Closure $next) | |
Private Attributes | |
$authentication | |
Middleware to check the user is in the adminLogic logic group
Definition at line 14 of file CheckAdminActivityFor.php.
BristolSU\Support\Authorization\Middleware\CheckAdminActivityFor::__construct | ( | Authentication | $authentication | ) |
Initialise middleware
Authentication | $authentication |
Definition at line 28 of file CheckAdminActivityFor.php.
References BristolSU\Support\Authorization\Middleware\CheckAdminActivityFor\$authentication.
BristolSU\Support\Authorization\Middleware\CheckAdminActivityFor::handle | ( | Request | $request, |
Closure | $next | ||
) |
Check the user is in the adminLogic logic group
Request | $request | |
Closure | $next |
ActivityRequiresAdmin |
Definition at line 40 of file CheckAdminActivityFor.php.
References BristolSU\Support\Authorization\Exception\ActivityRequiresAdmin\createWithActivity().
|
private |
Definition at line 21 of file CheckAdminActivityFor.php.
Referenced by BristolSU\Support\Authorization\Middleware\CheckAdminActivityFor\__construct().