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

Provide a mechanism to create service-specific default policies

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0, 0.7.0
    • Fix Version/s: 1.0.0, 0.7.1
    • Component/s: Ranger
    • Labels:
      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

            • Assignee:
              abhayk Abhay Kulkarni
              Reporter:
              rmani Ramesh Mani

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment