- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Set {USER} user in Ranger policy?
- Labels:
-
Apache Ranger
Created ‎05-12-2017 06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://cwiki.apache.org/confluence/display/RANGER/Support+for+%24username+variable describes an interesting feature to automagically create dynamic rules for users, for instance a personal db for every users.
Question is: how can we set this in Ranger admin or API? I got the following answer while calling the API:
{"statusCode":1,"msgDesc":"{USER}: user does not exist. policy='test {USER}' service='INT1_hive'"}
Created on ‎05-12-2017 10:12 AM - edited ‎08-17-2019 06:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
which HDP version are you using because this feature is being supported in latest release only
and we can add it something like this in screenshot
Created on ‎05-12-2017 10:12 AM - edited ‎08-17-2019 06:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
which HDP version are you using because this feature is being supported in latest release only
and we can add it something like this in screenshot
Created ‎05-12-2017 11:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using HDP 2.5.3.
But thanks I didn't pay attention to the version in the jira (https://issues.apache.org/jira/browse/RANGER-698). I'll upgrade then 🙂
