Code Repositories
Find and share code repositories
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)
Repo Description

For fun and related to a case I did this simple example of how to use ranger API.

This particular script just shows how to search for a user and confirm the id of the user you would like to change role of. (Admin/User)

To learn more about the ranger api:

http://ranger.apache.org/apidocs/index.html

http://ranger.apache.org/apidocs/ui/index.html

Repo Info
Github Repo URL https://github.com/davhortonworks/changerangerrole/blob/master/chrole.py
Github account name davhortonworks/changerangerrole/blob/master
Repo name chrole.py
246 Views
0 Kudos
Comments
Contributor

Nice script. I've added a pull request (I'm just learning about these, so I hope I did that right) with some code that I've used to make my own Atlas scripts more flexible and to make the password invisible when you type it in. I hope you like it.

Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎03-14-2018 05:57 PM
Updated by:
 
Contributors
Top Kudoed Authors