You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ranger.apache.org by reetika agrawal <ag...@gmail.com> on 2019/12/05 13:43:31 UTC
Question on Ranger
Hi,
Is there any way I can do ranger policy check if I have
userId,Groups,Policy List(From Rest API), database and table information
available and In my code I want to check if given user has specific access
based on given ranger policy ?
--
Thanks,
Reetika Agrawal
Re: Question on Ranger
Posted by Ramesh Mani <rm...@apache.org>.
Hi Reetika,
There is no easy way of achieving what you are looking for.
RangerBasePlugin does read the policies and builds the policyengine for any
service to use for authorization. So you may need to follow the
RangerBasePlugin code and see if it can help you.
Regards,
Ramesh
On Thu, Dec 5, 2019 at 5:43 AM reetika agrawal <ag...@gmail.com>
wrote:
> Hi,
>
> Is there any way I can do ranger policy check if I have
> userId,Groups,Policy List(From Rest API), database and table information
> available and In my code I want to check if given user has specific access
> based on given ranger policy ?
>
> --
> Thanks,
> Reetika Agrawal
>