I'm trying to access user info via ranger API, and I stumbled upon a strange issue:
When I access /xusers/users/userName/{userName}
I don't get the expected JSON, like in this URL: https://ranger.apache.org/apidocs/resource_XUserREST.html
If I have a username that's called sUsername
and I try /xusers/users/userName/Username
(without s
), I get the entire JSON even if the user isn't in any group!
If I enter /xusers/users/userName/sUsername
I get the entire JSON except the groupIdList
and groupNameList
. Is this expected behaviour?