[
https://issues.apache.org/jira/browse/RANGER-5691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097061#comment-18097061
]
Chinmay N Hegde commented on RANGER-5691:
-----------------------------------------
Merged into master:
[https://github.com/apache/ranger/commit/69e31ba976cb3d1b9f3ff63ea4d7a189805f33fc]
> 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)