Skip to content

Commit

Permalink
Removed reason attr again
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Bandener <[email protected]>
  • Loading branch information
nibix committed Jul 4, 2024
1 parent 16cb840 commit a3a257c
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public class PrivilegesEvaluatorResponse {
Set<String> resolvedSecurityRoles = new HashSet<>();
PrivilegesEvaluatorResponseState state = PrivilegesEvaluatorResponseState.PENDING;
CreateIndexRequestBuilder createIndexRequestBuilder;
private String reason;

public boolean isAllowed() {
return allowed;
Expand Down Expand Up @@ -78,15 +77,6 @@ public boolean isPending() {
return this.state == PrivilegesEvaluatorResponseState.PENDING;
}

public String getReason() {
return this.reason;
}

public PrivilegesEvaluatorResponse reason(String reason) {
this.reason = reason;
return this;
}

@Override
public String toString() {
return "PrivEvalResponse [allowed=" + allowed + ", missingPrivileges=" + missingPrivileges + "]";
Expand Down

0 comments on commit a3a257c

Please sign in to comment.