RBAC

Role-Based Access Control.
extends Wtf\Root
Methods Summary
public
# __invoke( Psr\Http\Message\ServerRequestInterface $request , Psr\Http\Message\ResponseInterface $response , callable $next )
Run RBAC check.
protected
# isAllowed( Psr\Http\Message\ServerRequestInterface $request , string $role )
Check if request allowed for current user.
Methods inherited from Wtf\Root
__construct(), __call(), __get(), get(), set(), getData(), setData()
Properties inherited from Wtf\Root
$container, $data