Commit ca0240e9 authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

Forgot to add new methods to the Authorizer stub

parent 8d778425
Pipeline #8948 passed with stages
in 2 minutes and 52 seconds
......@@ -81,4 +81,20 @@ class AuthorizerStub implements Authorizer
throw new AuthorizationException();
}
}
/**
* @inheritDoc
*/
public function getPermissions(): array
{
return [];
}
/**
* @inheritDoc
*/
public function allows(string $permission): bool
{
return $this->next;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment