[ 
https://issues.apache.org/jira/browse/RANGER-5877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18149410#comment-18149410
 ] 

Abhishek Kumar commented on RANGER-5877:
----------------------------------------

Merged in ranger-2.10: 
[https://github.com/apache/ranger/commit/ba1dfa4e5ffbbb265dc696380642d7ff120ed465]

> Service create payload to support custom default policies
> ---------------------------------------------------------
>
>                 Key: RANGER-5877
>                 URL: https://issues.apache.org/jira/browse/RANGER-5877
>             Project: Ranger
>          Issue Type: Improvement
>          Components: admin
>            Reporter: Madhan Neethiraj
>            Assignee: Abhishek Kumar
>            Priority: Major
>             Fix For: 3.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> While creating a service in Ranger, such as dev_trino, it should be possible 
> to create a set of initial policies that grant access to desired 
> users/groups/roles on resources in the service. Currently such a support 
> exists , but multiple configurations are needed to create each policy (more 
> details in RANGER-2781).
> Ability to specify a complete policy in a single configuration will make it a 
> lot simpler, such as:
> {noformat}
> default.policy.1 = { "name": "testdb tables", "resources": { "database": { 
> "values": [ "testdb" ] } }, "policyItems": [ { "groups": [ "public" ], 
> "accesses": [ { "type": "select" } ] } }
> {noformat}
>  



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to