Deepak Sharma created RANGER-1123:
-------------------------------------
Summary: keyadmin user is not able to make getservice call using
rest api service/public/v2/api/service/name
Key: RANGER-1123
URL: https://issues.apache.org/jira/browse/RANGER-1123
Project: Ranger
Issue Type: Bug
Components: Ranger
Affects Versions: 0.6.0
Reporter: Deepak Sharma
Priority: Critical
Fix For: 0.6.0
keyadmin user is not able to make getservice call using rest api
service/public/v2/api/service/name ERROR 404 is thrown,
but same is possible through admin user
call using keyadmin user :
{code}
HTTP/1.1 404 Not Found
Server: Apache-Coyote/1.1
Set-Cookie: RANGERADMINSESSIONID=1CC76B75F93C35838BCE62BBBDD44B87; Path=/;
HttpOnly
WWW-Authenticate: Negotiate
Set-Cookie: hadoop.auth=; Path=/; Domain=xa-atl-jul25-3.openstacklocal;
Expires=Thu, 01-Jan-1970 00:00:00 GMT; HttpOnly
X-Frame-Options: DENY
Content-Length: 0
Date: Mon, 25 Jul 2016 20:53:43 GMT
{code}
call using admin user:
{code}
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: RANGERADMINSESSIONID=E7BCD8AA0965A4C40C167B0972C08B33; Path=/;
HttpOnly
WWW-Authenticate: Negotiate
Set-Cookie: hadoop.auth=; Path=/; Domain=xa-atl-jul25-3.openstacklocal;
Expires=Thu, 01-Jan-1970 00:00:00 GMT; HttpOnly
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 25 Jul 2016 20:54:04 GMT
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)