fmorg-git commented on code in PR #1395:
URL: https://github.com/apache/ranger/pull/1395#discussion_r4791975017


##########
security-admin/src/main/webapp/react-webapp/src/utils/actionRequirements/ozone.json:
##########
@@ -41,7 +43,12 @@
     "DeleteObjectTagging": ["write"],
     "AbortMultipartUpload": ["write"],
     "DeleteObject": ["delete"],
-    "ListMultipartUploadParts": ["read"]
+    "ListMultipartUploadParts": ["read"],
+    "GetObjectRetention": ["read"],
+    "PutObjectRetention": ["write"],
+    "GetObjectLegalHold": ["read"],
+    "PutObjectLegalHold": ["write"],
+    "BypassGovernanceRetention": ["write", "delete"]

Review Comment:
   I believe some changes are required here.  Ranger is hierarchical, so if an 
action is needed at key level, it needs to be at volume and bucket level as 
well.  If an action is needed at bucket level, it is needed at volume level as 
well (but not key).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to