|
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 for logic group
Definition at line 14 of file CheckActivityFor.php.
| BristolSU\Support\Authorization\Middleware\CheckActivityFor::__construct | ( | Authentication | $authentication | ) |
Initialise the middleware
| Authentication | $authentication | Authentication contract to resolve the user information |
Definition at line 28 of file CheckActivityFor.php.
References BristolSU\Support\Authorization\Middleware\CheckActivityFor\$authentication.
| BristolSU\Support\Authorization\Middleware\CheckActivityFor::handle | ( | Request | $request, |
| Closure | $next | ||
| ) |
Check if the user is in the logic group forLogic
| Request | $request | |
| Closure | $next |
| ActivityRequiresParticipant |
Definition at line 41 of file CheckActivityFor.php.
References BristolSU\Support\Authorization\Exception\ActivityRequiresParticipant\createWithActivity().
|
private |
Definition at line 21 of file CheckActivityFor.php.
Referenced by BristolSU\Support\Authorization\Middleware\CheckActivityFor\__construct().
1.8.13