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

Chinmay N Hegde resolved RANGER-5691.
-------------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

> Incorrect response seen when admin tries to create a key
> --------------------------------------------------------
>
>                 Key: RANGER-5691
>                 URL: https://issues.apache.org/jira/browse/RANGER-5691
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 3.0.0
>            Reporter: Chinmay N Hegde
>            Assignee: Chinmay N Hegde
>            Priority: Major
>             Fix For: 3.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Incorrect response seen when admin tries to create a key even though he 
> doesn't have permission
> _curl -ik -u admin:Admin123 --header Accept:application/json -H 
> Content-Type:application/json -K POST 
> '[https://<host>:6182/service/keys/key?provider=kmsdev|https://ccycloud-1.ch-102949.root.comops.site:6182/service/keys/key?provider=kmsdev]'
>  -d 
> '\{"name":"testkey1","cipher":"AES/CTR/NoPadding","length":"128","attributes":{}}'_
> HTTP/1.1 200
> Set-Cookie; Path=/; Secure; HttpOnly
> X-Frame-Options: DENY
> ...
> ...
> ...
> {"length":256,"versions":0}
> Here the kmsdev provider is not there but still we get response as 200 this 
> issue is seen in get and other api's as well



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

Reply via email to