[ https://issues.apache.org/jira/browse/RANGER-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated RANGER-2781:
-------------------------------------
Attachment: RANGER-2781.patch
> default policy creation fails for policy-items with no users
> ------------------------------------------------------------
>
> Key: RANGER-2781
> URL: https://issues.apache.org/jira/browse/RANGER-2781
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Attachments: RANGER-2781.patch
>
>
> List of default policies for a service can be customized using service-config entries
at the time of service creation - as shown in the example below:
>
> {noformat}
> setup.additional.default.policies=true
> default-policy.1.name=test-default-policy
> default-policy.1.description=This is a test default policy
> default-policy.1.resource.path=/path1,/path2/
> default-policy.1.policyItem.1.users=user1,user2
> default-policy.1.policyItem.1.groups=group1,group2
> default-policy.1.policyItem.1.accessTypes=read,write,execute
> {noformat}
> However, when a default policy doesn't specify any users (but has groups), the policy
is not created. This JIRA is to track fix for this issue.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
|