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

higher level policy API to hide complexity of policy update/create/delete

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.6.0
    • admin
    • None
    • Patch

    Description

      Ranger has very good fine-grained policy API with which user can define access control rules for any resource. But sometimes it is not human being but third party tools may use Ranger policy API to temporarily block or unblock user. The third party tool just wants to simply tell Ranger that "please block/unblock this user from accessing resource A" and the third party tool is not able to analyze the complicated scenarios as follows:
      1. The exactly same rule already exists for resource A
      2. The current rules for resource A includes the new rule implicitly
      3. There is no any rules for resource A

      If it's admin to operate the policy, admin can analyze policy semantics and will figure out it's to create a new policy or update an existing policy.

      To better support integration from third party tool, Ranger can provide a higher level API which accepts request like "block user access to one resource" and internally figure out what policy to create/update.

      Attachments

        1. RANGER-699.patch
          74 kB
          Madhan Neethiraj

        Issue Links

          Activity

            People

              abhayk Abhay Kulkarni
              yonzhang2012 Edward Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 720h
                  720h
                  Remaining:
                  Remaining Estimate - 720h
                  720h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified