[
https://issues.apache.org/jira/browse/RANGER-5877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abhishek Kumar reassigned RANGER-5877:
--------------------------------------
Assignee: Abhishek Kumar
> 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
> Time Spent: 10m
> 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)