You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nixon Rodrigues (Jira)" <ji...@apache.org> on 2020/09/25 09:14:00 UTC

[jira] [Commented] (ATLAS-3958) When updating a type with non-existing super type as an un-authorized user gives in-correct message in response

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

Nixon Rodrigues commented on ATLAS-3958:
----------------------------------------

ATLAS-3952 will be fix this issue which under review https://reviews.apache.org/r/72894/

> 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
>            Priority: Minor
>
> 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)