Dharshana M Krishnamoorthy created ATLAS-3958:
-------------------------------------------------

             Summary: When updating a type with non-existing super type as an 
un-authorized user gives in-correct message in response
                 Key: ATLAS-3958
                 URL: https://issues.apache.org/jira/browse/ATLAS-3958
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
            Reporter: Dharshana M Krishnamoorthy


When an unauthorised  user updates a type, by adding a non-existing super-type, 
incorret error message is thrown

*Repro steps:*

Create a classification (as authorised user)

Update the classification  as un-authorised user(*hrt_1*), by adding a 
non-existing super type *qqq*

*Observed error message:*

{code}
{
"errorCode": "ATLAS-400-00-029",
"errorMessage": "Given typename qqq was invalid"
}
{code}

*Expected error message:*

{code}
{
"errorCode": "ATLAS-403-00-001",
"errorMessage": "hrt_1 is not authorized to perform update classification-def 
child"
}
{code}



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

Reply via email to