[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

2020-10-04 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-3968:


Commit 4fb04d76f8273ff8f7909d0870c8f4f84938d970 in atlas's branch 
refs/heads/branch-2.0 from Nixon Rodrigues
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=4fb04d7 ]

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

Change-Id: I7552084604f6dbe57f98bd33da013255a4facbad
(cherry picked from commit 45bb769f60ae2f23a4b260dd6e64d76149cd39d0)


> 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/ 
> 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)


[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

2020-10-04 Thread ASF subversion and git services (Jira)


[ 
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/ 
> 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)