Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2781

default policy creation fails for policy-items with no users

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: admin
    • Labels:
      None

      Description

      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:
       

      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
      

      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.
       

        Attachments

        1. RANGER-2781.patch
          14 kB
          Madhan Neethiraj

          Activity

            People

            • Assignee:
              madhan Madhan Neethiraj
              Reporter:
              madhan Madhan Neethiraj
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: