Returns TRUE if access is granted on the given privilege target in the current security context
public isPrivilegeTargetGranted ( string $privilegeTargetIdentifier, array $privilegeParameters = [] ) : boolean | ||
$privilegeTargetIdentifier | string | The identifier of the privilege target to decide on |
$privilegeParameters | array | Optional array of privilege parameters (simple key => value array) |
return | boolean | TRUE if access is granted, FALSE otherwise |