Chinmay N Hegde created RANGER-5691:
---------------------------------------
Summary: 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
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)