@Alex Thanks for the information. Unfortunately, we have several clusters 
running Kerberos. I opened SENTRY-1558 for this and will work on it with a 
colleague of mine.

 

Best, Jan

 

From: Alexander Kolbasov <[email protected]>
Reply-To: <[email protected]>
Date: Saturday, December 3, 2016 at 7:46 PM
To: <[email protected]>
Subject: Re: Show groups for a given role

 

Hi Jan,

 

You may check my new sentry command-line tool at 
https://github.com/akolb1/sentrytool <https://github.com/akolb1/sentrytool>. 
You can easily do it with this tool:

 

sentrytool group list -v <groupName>

 

Caveat - it doesn’t work in Kerberos setup.

 

I am not sure whether there is a more “official” way of doing that. There is a 
Sentry Shell which might be able to do something similar.

 

Best,

 

- Alex

 

On Dec 3, 2016, at 3:16 AM, Jan Hentschel <[email protected]> 
wrote:

Hi,

I’m looking for a way to look up the access groups for a given role. I know 
that I can list all the roles for a given group via

SHOW ROLE GRANT GROUP <groupName>;

What I want to do is something vice versa without directly querying the Sentry 
database. Is there a command or JIRA ticket for this?

Best, Jan 

 

 

Reply via email to