New Contributor
Posts: 5
Registered: ‎02-08-2016
Accepted Solution

Cannot see set role to a user in a group in Sentry

I created a group in linux called operator with testuser as a member and assigned the role dkmf to the operator group with >grant role dkmf to group operator. This works as below I copied the output from >show role grant operator;


t> show role grant group operator;
| role | grant_option | grant_time | grantor |
| dkmf | false | NULL | -- |
1 row selected (0.061 seconds)


But when I am logged in as testuser and and try >show current roles; 

the dkmf role does not show, the ones that were set before. 


What's missing?


Cloudera Employee
Posts: 2
Registered: ‎11-02-2015

Re: Cannot see set role to a user in a group in Sentry

If you are managing groups via the underlying OS you will need to manually add the group and user mapping to a minimum of the sentry host and your client host. It is recommended to add them to all hosts to avoid permission ambiguity when running jobs.