Chung-En Lee created RANGER-5894:
------------------------------------
Summary: Register Ozone S3 Object Lock actions in the Ozone
service definition
Key: RANGER-5894
URL: https://issues.apache.org/jira/browse/RANGER-5894
Project: Ranger
Issue Type: Improvement
Components: admin
Reporter: Chung-En Lee
Apache Ozone is adding S3 Object Lock (HDDS-15945, design:
https://github.com/apache/ozone/pull/11053). Ranger policies limit lock
operations with the {{action-matches}} condition, so the Ozone service
definition needs the seven S3 Object Lock actions.
Add them to
{{security-admin/src/main/webapp/react-webapp/src/utils/actionRequirements/ozone.json}}
with their resource level and access types, so the Ranger UI validates policy
items:
* GetBucketObjectLockConfiguration: bucket, read
* PutBucketObjectLockConfiguration: bucket, write
* GetObjectRetention: key, read
* PutObjectRetention: key, write
* GetObjectLegalHold: key, read
* PutObjectLegalHold: key, write
* BypassGovernanceRetention: key, write and delete
The action names are the AWS permission names without the {{s3:}} prefix, as
for the existing STS actions.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)