[ 
https://issues.apache.org/jira/browse/ATLAS-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17293610#comment-17293610
 ] 

chaitali borole commented on ATLAS-4176:
----------------------------------------

[~dharshmk],

Kindly share your policy details if you are expecting this error
{code:java}
hrt_20 is not authorized to perform read type-def of category ENTITY entity_1 
{code}
because here there are two cases either hrt_20 doesn't have any access.

or else hrt_20 doesn't have any access for supertype in specific.

CC:[~nixon]

> [Atlas: Read type auth] When un-authorised user creates a sub type, incorrect 
> error message is thrown 
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4176
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4176
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Dharshana M Krishnamoorthy
>            Assignee: chaitali borole
>            Priority: Major
>
> *hrt_20* is an *unauthorised_user*
> When hrt_20 tries to create an entity_type *sub_entity_1* with super_type as 
> "*entity_1*" the following is thrown
> {code:java}
> hrt_20 is not authorized to perform create entity-def sub_entity_1 {code}
> Expectation:
> {code:java}
> hrt_20 is not authorized to perform read type-def of category ENTITY entity_1 
> {code}
>  
> NOTE:
> This happens only for entity type and not for classification.
> When creating a classification *sub_class_1* with super_type as *class_1* the 
> following exception is thrown, which is correct
> {code:java}
> hrt_20 is not authorized to perform read type-def of category CLASSIFICATION 
> class_1 {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to