Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Bandener <[email protected]>
  • Loading branch information
nibix committed Jun 28, 2024
1 parent 9a55c8c commit 31c20ae
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,6 @@ public PrivilegesEvaluatorResponse evaluate(PrivilegesEvaluationContext context)

PrivilegesEvaluatorResponse presponse = new PrivilegesEvaluatorResponse();

final SecurityRoles securityRoles = getSecurityRoles(mappedRoles);

// Add the security roles for this user so that they can be used for DLS parameter substitution.
user.addSecurityRoles(mappedRoles);
setUserInfoInThreadContext(user);
Expand Down Expand Up @@ -485,7 +483,6 @@ public PrivilegesEvaluatorResponse evaluate(PrivilegesEvaluationContext context)
}

ImmutableSet<String> allIndexPermsRequired = evaluateAdditionalIndexPermissions(request, action0);
// final String[] allIndexPermsRequiredA = allIndexPermsRequired.toArray(new String[0]);

if (isDebugEnabled) {
log.debug(
Expand Down

0 comments on commit 31c20ae

Please sign in to comment.