[
https://issues.apache.org/jira/browse/HDDS-16486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chung-En Lee resolved HDDS-16486.
---------------------------------
Resolution: Won't Do
> Add S3 action mapping for Object Lock APIs
> ------------------------------------------
>
> Key: HDDS-16486
> URL: https://issues.apache.org/jira/browse/HDDS-16486
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Chung-En Lee
> Assignee: Meng-Shuan Tsai
> Priority: Major
>
> Add the S3 action mapping for the Object Lock APIs, once RANGER-5894 has
> released the actions in the Ozone service definition. The API sub-tasks are
> implemented first and authorize by access type only; this task adds the
> actions so that Ranger {{action-matches}} policies apply (see the design doc,
> "Ranger").
> # {{S3GAction}} (s3gateway): add {{GET_BUCKET_OBJECT_LOCK_CONFIGURATION}},
> {{PUT_BUCKET_OBJECT_LOCK_CONFIGURATION}}, {{GET_OBJECT_RETENTION}},
> {{PUT_OBJECT_RETENTION}}, {{GET_OBJECT_LEGAL_HOLD}},
> {{PUT_OBJECT_LEGAL_HOLD}}, {{BYPASS_GOVERNANCE_RETENTION}}.
> # {{S3GActionIamMapper}}: map {{?object-lock}}, {{?retention}} and
> {{?legal-hold}} requests to the AWS action names
> ({{GetBucketObjectLockConfiguration}}, {{PutBucketObjectLockConfiguration}},
> {{GetObjectRetention}}, {{PutObjectRetention}}, {{GetObjectLegalHold}},
> {{PutObjectLegalHold}}); {{BypassGovernanceRetention}} is only used as a
> dependent action by OM.
> # {{IamSessionPolicyResolver.S3Action}} (common): register the seven actions
> with resource scope and access types: Get → {{READ}}, Put → {{WRITE}},
> {{BypassGovernanceRetention}} → {{WRITE}} and {{DELETE}}.
> Depends on: RANGER-5894.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]