Guides
Tutorials
Checks if the logged user has sufficient permissions to access the given resource.
interface ApiPlatform\Symfony\Security\ResourceAccessCheckerInterface
{
public isGranted(string $resourceClass, string $expression, array $extraVariables): bool
}
interface ApiPlatform\Symfony\Security\ResourceAccessCheckerInterface
{
public isGranted(string $resourceClass, string $expression, array $extraVariables): bool
}
Checks if the given item can be accessed by the current user.
public isGranted(string $resourceClass, string $expression, array $extraVariables): bool
public isGranted(string $resourceClass, string $expression, array $extraVariables): bool
resourceClass | string | |
expression | string | |
extraVariables | array |
bool