Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Ranger: Set access to all databases except 1

$
0
0

Hi,
I use HDP2.2 and want to secure Hive by Ranger. I want to set access to all databases for one group expect of 1 database. The databases can change, so I don’t want to change specific database names (add, delete) for this rule every time.

If I create the following Schema, only GlobalAccessGroup and MyDBGroup has access to database myDb. But GlobalAccessGroup should not have this right. If I add a new database, GlobalAccessGroup should have automatically access to these new group.
Global Access: database-name: * – table: * [include] – columns: * [include] – Group-Permissions: GlobalAccessGroup – All
My DB Access: database-name: myDb – table: * [include] – columns: * [include] – Group-Permissions: MyDBGroup – All

What’s the way to do this?


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>