Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Bandener <[email protected]>
  • Loading branch information
nibix committed Jan 3, 2025
1 parent cc1d22a commit 310b77d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ public PrivilegesEvaluatorResponse evaluate(final User user, String routeName, f
}
}

return presponse;
if (presponse.allowed) {
return PrivilegesEvaluatorResponse.ok();
} else {
return PrivilegesEvaluatorResponse.insufficient(actions);
}
}

Set<String> mapRoles(final User user, final TransportAddress caller) {
Expand Down

0 comments on commit 310b77d

Please sign in to comment.