You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Jayendra Parab (Jira)" <ji...@apache.org> on 2021/04/30 17:17:00 UTC

[jira] [Updated] (ATLAS-4271) When unauthorised user is tries to create a relationship, message thrown is incorrect

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

Jayendra Parab updated ATLAS-4271:
----------------------------------
    Description: 
When an unauthorized user (say user1) tries to create a relationship between two entities (say type1 and type2), the error message thrown is 
{code:java}
user1 is not authorized to perform create relationship-def{code}
The expected message should be 
{code:java}
user1 is not authorized to perform read type-def of category ENTITY type1{code}
The current message should be thrown when an user with read-only access tries to create a relationship.

  was:
When an unauthorized user (say user1) tries to create a relationship between two entities (say type1 and type2), the error message thrown is 
user1 is not authorized to perform create relationship-def 
The expected message should be 
{code:java}
user1 is not authorized to perform read type-def of category ENTITY type1{code}
The current message should be thrown when an user with read-only access tries to create a relationship.


> When unauthorised user is tries to create a relationship, message thrown is incorrect
> -------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4271
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4271
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Jayendra Parab
>            Assignee: Jayendra Parab
>            Priority: Major
>
> When an unauthorized user (say user1) tries to create a relationship between two entities (say type1 and type2), the error message thrown is 
> {code:java}
> user1 is not authorized to perform create relationship-def{code}
> The expected message should be 
> {code:java}
> user1 is not authorized to perform read type-def of category ENTITY type1{code}
> The current message should be thrown when an user with read-only access tries to create a relationship.



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