You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/10/05 06:09:00 UTC

[jira] [Commented] (ATLAS-3968) When un-authorised reader reads a type using the guid, the error message mentions about the type name instead of the guid

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

ASF subversion and git services commented on ATLAS-3968:
--------------------------------------------------------

Commit 45bb769f60ae2f23a4b260dd6e64d76149cd39d0 in atlas's branch refs/heads/master from Nixon Rodrigues
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=45bb769 ]

ATLAS-3968:- Refactor the typedef API authoriation error msg from type Name to type guid

Change-Id: I7552084604f6dbe57f98bd33da013255a4facbad


> When un-authorised reader reads a type using the guid, the error message mentions about the type name instead of the guid
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-3968
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3968
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Dharshana M Krishnamoorthy
>            Assignee: Nixon Rodrigues
>            Priority: Major
>
> On firing a request forĀ /api/atlas/v2/types/businessmetadatadef/guid/<guid> as an unauthorised user, the following error message is displayed
> {code:java}
> {
> u'errorCode': u'ATLAS-403-00-001',
> u'errorMessage': u'hrt_20 is not authorized to perform read type bm_123'
> }
> {code}
> Since we are firing the request using guid, it will be better to mention the guid instead of the type name



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