Skip to content

Commit

Permalink
ARSN-362: change new function name for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Oct 30, 2023
1 parent 1bd8796 commit bb94141
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/policyEvaluator/evaluator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export function evaluatePolicy(
}

/**
* @deprecated Upgrade to evaluateAllPoliciesNew
* @deprecated Upgrade to standardEvaluateAllPolicies
* Evaluate whether a request is permitted under a policy.
* @param requestContext - Info necessary to
* evaluate permission
Expand All @@ -326,9 +326,9 @@ export function evaluateAllPolicies(
allPolicies: any[],
log: Logger,
): string {
return evaluateAllPoliciesNew(requestContext, allPolicies, log).verdict;
return standardEvaluateAllPolicies(requestContext, allPolicies, log).verdict;
}
export function evaluateAllPoliciesNew(
export function standardEvaluateAllPolicies(
requestContext: RequestContext,
allPolicies: any[],
log: Logger,
Expand Down

0 comments on commit bb94141

Please sign in to comment.