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

Provide a mechanism to create service-specific default policies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.0, 0.7.0
    • 1.0.0, 0.7.1
    • Ranger
    • None

    Description

      When a service is created, Ranger Admin creates a default policy in the new service which grants all access to the user specified in service-config. This works for most services. However, it is possible that some service implementation might want to create default policy with different accesses. It will be useful to provide a mechanism to enable service-specific default policy creation – similar to service-specific resource-lookup implementations which is available today via RangerBaseService interface. Something like:

      public abstract class RangerBaseService {
      // ...

      public List<RangerPolicy> getDefaultPolicies();
      }

      Attachments

        Issue Links

          Activity

            People

              abhayk Abhay Kulkarni
              rmani Ramesh Mani
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: