[jira] [Updated] (RANGER-3807) getUserRoles API gives 200 for non existing user passed to this API

2022-07-25 Thread Madhan Neethiraj (Jira)


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

Madhan Neethiraj updated RANGER-3807:
-
Fix Version/s: 2.4.0

> getUserRoles API gives 200 for non existing user passed to this API
> ---
>
> Key: RANGER-3807
> URL: https://issues.apache.org/jira/browse/RANGER-3807
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Reporter: Anupam Rai
>Assignee: Pradeep Agrawal
>Priority: Major
> Fix For: 3.0.0, 2.4.0
>
> Attachments: 
> 0001-RANGER-3807-getUserRoles-API-gives-200-for-non-exist.patch
>
>
> Steps to reproduce :
> 1. Hit this API  /roles/roles/user/\{user} with any random string
> 2. We should get any error message if user is not available 
> Actual : We are getting 200 response for any random string 
> Https status : 200 OK
> {code:java}
> [] {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (RANGER-3807) getUserRoles API gives 200 for non existing user passed to this API

2022-06-24 Thread Pradeep Agrawal (Jira)


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

Pradeep Agrawal updated RANGER-3807:

Attachment: 0001-RANGER-3807-getUserRoles-API-gives-200-for-non-exist.patch

> getUserRoles API gives 200 for non existing user passed to this API
> ---
>
> Key: RANGER-3807
> URL: https://issues.apache.org/jira/browse/RANGER-3807
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Reporter: Pradeep Agrawal
>Assignee: Pradeep Agrawal
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: 
> 0001-RANGER-3807-getUserRoles-API-gives-200-for-non-exist.patch
>
>
> Steps to reproduce :
> 1. Hit this API  /roles/roles/user/\{user} with any random string
> 2. We should get any error message if user is not available 
> Actual : We are getting 200 response for any random string 
> Https status : 200 OK
> {code:java}
> [] {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)