Madhan Neethiraj created RANGER-2781:
----------------------------------------
Summary: 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
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)
|