[ 
https://issues.apache.org/jira/browse/ATLAS-3973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dharshana M Krishnamoorthy updated ATLAS-3973:
----------------------------------------------
    Description: 
Received message
{code:java}
{u'errorCode': u'ATLAS-403-00-001', u'errorMessage': u'hrt_qa is not authorized 
to perform read type-def of 
categoryCLASSIFICATIONnon_read_classification_ufvQK'}

{code}
 

Expected message
{code:java}
hrt_qa is not authorized to perform create classification-def  <type_name> with 
non-readable classification

{code}
or something similar, that conveys the right message. The current error message 
seems very confusing. It conveys about read when performing a create operation

Also the message has incorrect spacing

  was:
Received message

{code}

{u'errorCode': u'ATLAS-403-00-001', u'errorMessage': u'hrt_qa is not authorized 
to perform read type-def of 
categoryCLASSIFICATIONnon_read_classification_ufvQK'}

{code}

 

Expected message

{code}

hrt_qa is not authorized to perform create classification-def  <type_name> with 
non-readable classification

{code}

or something similar, that conveys the right message. The correct error message 
seems very confusing. It conveys about read when performing a create operation

Also the message has incorrect spacing


> Inappropriate message on performing create with non-readable super type
> -----------------------------------------------------------------------
>
>                 Key: ATLAS-3973
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3973
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Dharshana M Krishnamoorthy
>            Priority: Major
>
> Received message
> {code:java}
> {u'errorCode': u'ATLAS-403-00-001', u'errorMessage': u'hrt_qa is not 
> authorized to perform read type-def of 
> categoryCLASSIFICATIONnon_read_classification_ufvQK'}
> {code}
>  
> Expected message
> {code:java}
> hrt_qa is not authorized to perform create classification-def  <type_name> 
> with non-readable classification
> {code}
> or something similar, that conveys the right message. The current error 
> message seems very confusing. It conveys about read when performing a create 
> operation
> Also the message has incorrect spacing



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

Reply via email to