[
https://issues.apache.org/jira/browse/ATLAS-3973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dharshana M Krishnamoorthy reopened ATLAS-3973:
-----------------------------------------------
Hi [~chaitali] I'm able to repro the issue.
Steps to reproduce:
Create a classification with name 'non_read_classification_1'
Create a ranger policy where the user can read types starting with read_auth
Now create a subtype using non_read_classification_1 as a super type via rest
api
> 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
> Assignee: chaitali borole
> Priority: Major
> Attachments: Screenshot 2021-02-05 at 5.40.54 PM.png
>
>
> 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)