Validates that a grant authorizes the requested operation.
The grant file to check. Contains the authorized operation.
The operation to validate. Must match the grant's operation exactly.
If operations don't match. Request a grant for the specific operation needed.
validateOperationAccess(grantFile, 'llm_inference');// Throws if grantFile.operation !== 'llm_inference' Copy
validateOperationAccess(grantFile, 'llm_inference');// Throws if grantFile.operation !== 'llm_inference'
Validates that a grant authorizes the requested operation.