-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73194/
-----------------------------------------------------------

(Updated Feb. 19, 2021, 9:36 a.m.)


Review request for atlas, Jayendra Parab, Madhan Neethiraj, Nixon Rodrigues, 
and Sarath Subramanian.


Bugs: ATLAS-4172
    https://issues.apache.org/jira/browse/ATLAS-4172


Repository: atlas


Description
-------

API : /api/atlas/v2/entity/bulk

Body :

{ "entities":[ {"authorised_1"}, {"unauthorised_1"}, {"authorised_2"} ] } 
Consider a user posts the body which contains

entity1 of type1 he is authorised ,

entity2 of type2 he is not authorised , 

entity3 of type3 he is authorised  

The request returns 403 since of the entities is unauthorized.


Diffs
-----

  
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java
 e6fe306e3 


Diff: https://reviews.apache.org/r/73194/diff/1/


Testing
-------

When skipFailedEntities passed as a flag true only authorised entities get 
created/updated skipping unauthorised .


Thanks,

chaitali

Reply via email to