Dharshana M Krishnamoorthy created ATLAS-4176:
-------------------------------------------------
Summary: [Atlas: Read type auth] When un-authorised user creates a
sub type, in correct 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
*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)