Skip to content

Commit

Permalink
RANGER-5001: Resolve merge conflicts to fix compilation failure (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
fateh288 authored Nov 25, 2024
1 parent 3160490 commit 925ed23
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,8 @@ private RangerAccessResult evaluatePoliciesNoAudit(RangerAccessRequest request,
final RangerAccessResult ret;

if (request.isAccessTypeAny()) {
RangerAccessRequestUtil.setAllRequestedAccessTypes(request.getContext(), getServiceDefHelper().getAllAccessTypes());
Set<String> allRequestedAccesses = getServiceDefHelper().getAllAccessTypes();
RangerAccessRequestUtil.setAllRequestedAccessTypes(request.getContext(), allRequestedAccesses);
RangerAccessRequestUtil.setIsAnyAccessInContext(request.getContext(), Boolean.TRUE);
if (!request.ignoreDescendantDeny()) {
Set<Set<String>> accessGroups = allRequestedAccesses.stream().map(Collections::singleton).collect(Collectors.toSet());
Expand Down

0 comments on commit 925ed23

Please sign in to comment.