Elgg  Version 4.3
UserPageOwnerCanEditGatekeeper.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Router\Middleware;
4 
11 
16  public function __invoke(\Elgg\Request $request) {
17  $this->assertAccess($request, 'user');
18  }
19 }
Check if the current route page owner can be edited (by the current logged in user) and is an user...
$request
Definition: livesearch.php:11
assertAccess(\Elgg\Request $request, string $type= '', string $subtype= '')
Validate the current request.
Request container.
Definition: Request.php:12
Check if the current route page owner can be edited (by the current logged in user) ...