Skip to content

Commit

Permalink
RANGER-4477: RangerOzoneAuthorizer doesn't set the resource owner
Browse files Browse the repository at this point in the history
Signed-off-by: Madhan Neethiraj <[email protected]>
  • Loading branch information
xBis7 authored and mneethiraj committed Oct 16, 2023
1 parent 7dd8dc8 commit 494fc2e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ public boolean checkAccess(IOzoneObj ozoneObject, RequestContext context) {
rangerRequest.setAccessTime(eventTime);

RangerAccessResourceImpl rangerResource = new RangerAccessResourceImpl();
rangerResource.setOwnerUser(context.getOwnerName());

rangerRequest.setResource(rangerResource);
rangerRequest.setAccessType(accessType);
rangerRequest.setAction(action);
Expand Down

0 comments on commit 494fc2e

Please sign in to comment.