/list_users_policies

Print exported rules from Ranger in human readable format as seen in sample output in README

Instructions

Place the exported json file in same folder as policies.json. run using

python scriptname.py

Sample output

GROUP :  gp1: Members : [ dude1, user2, gal1 ]
COLUMN :  *
TABLE :  *
DATABASE :  db1,db3,db5

USER :  user1.001
PATH :  /user/gal1/opendata

USER :  user22s
COLUMN :  *
TABLE :  *
DATABASE :  app1_db1

GROUP :  gp2 : Members :  [user9, user7]
COLUMN :  *
TABLE :  *
DATABASE :  db_poc