You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "VINAYAK MARRAIYA (Jira)" <ji...@apache.org> on 2024/11/07 05:18:00 UTC

[jira] [Assigned] (ATLAS-4916) Improve APIs where AtlasAccessRequest is used

     [ https://issues.apache.org/jira/browse/ATLAS-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

VINAYAK MARRAIYA reassigned ATLAS-4916:
---------------------------------------

    Assignee: VINAYAK MARRAIYA

> Improve APIs where AtlasAccessRequest is used
> ---------------------------------------------
>
>                 Key: ATLAS-4916
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4916
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: VINAYAK MARRAIYA
>            Assignee: VINAYAK MARRAIYA
>            Priority: Major
>
> *Usage:*
> AtlasAccessRequest object is used by Authorizer (Ranger Authorizer) to verify the access.
> *Obeservation 1:* 
> AtlasEntityAccessRequest has entityClassification attribute which populates its value from AtlasClassification object.
> AtlasEntityAccessRequest has entity attribute which has classificationNames populated 
> *Action 1:*
> classificationNames can be populated from entity.getClassificationNames() instead of entity.getClassification()
> *Observation 2:*
> To populate AtlasEntityAccessRequest.entityClassification, entityRetriever.toAtlasEntityHeaderWithClassifications is used in most of the cases, which used an extra call to get all classification object.
> *Action 2:*
> Instead of entityRetriever.toAtlasEntityHeaderWithClassifications, entityRetriever.toAtlasEntityHeader can be used.
> *Action 3:*
> Readings of Improvement.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)