Reply
Explorer
Posts: 11
Registered: ‎05-15-2015

Roles creation in HUE UI for sentry

I am not getting an option to add roles directly in HUE UI for sentry for give privilges to roles.

Right now i am using beeline to create roles and grant permission to databases . Is there any way , can i sync the roles that are created in beeline to hue UI .

OR Do i need to add roles manually in HUE UI .  Can anyone help on this issue.

 

 

Highlighted
Cloudera Employee
Posts: 89
Registered: ‎07-31-2013

Re: Roles creation in HUE UI for sentry

The roles in Hue should sync up with the ones created by beeline. However, you have to login to Hue as a member of one of the groups that have been defined for this property in your Sentry config:

sentry.service.admin.group

So what you have to do is:

1. Add a group that should be able to admin sentry roles to that list.
2. Restart Sentry and Hue(hue checks the sentry group info in the sentry-site.xml on startup)
3. Add the same group to Hue through the useradmin.
4. Make a user that should see sentry roles a member of the new group.
5. Logout of Hue and log back in.
Cloudera Employee
Posts: 717
Registered: ‎07-30-2013

Re: Roles creation in HUE UI for sentry

Explorer
Posts: 11
Registered: ‎05-15-2015

Re: Roles creation in HUE UI for sentry

Based on video, I can able to add roles and give permissions to roles directly instead of using beeline .
But I am not getting an option to add role directly in HUE browser.

New Contributor
Posts: 1
Registered: ‎06-17-2015

Re: Roles creation in HUE UI for sentry

Able to create roles, but even after assigning role to user that user is un able to access tables in impala.   I have followed all instuctions on setting permissions on the /user/hive/warehouse then enabling sentry for hue,hive,impala.  Created group called "impala" and added role with permissions "ALL" on table X.  User is still not able to run any commnad on table X.

 

 

 

Expert Contributor
Posts: 108
Registered: ‎05-19-2016

Re: Roles creation in HUE UI for sentry

Announcements