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

Policy evaluation to support multiple values for accessed resource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • plugins
    • None

    Description

      While evaluating access requests, Ranger policy engine picks policies based on the resource value specified in the access request. Currently access-resource abstraction only supports a single value for each resource-type - like database/table/column. Authorization of access to some resources might require the policy engine to pick policies based on multiple values for a resource.

      For example, consider access authorization for an entity in Apache Atlas. An entity has a specific-type and a number of super-types - example: type=database super-types=[dataset, asset]. While authorizing access to a database entity, policies specified for its super-types, dataset and asset, should also be evaluated.

      To enable such usecases, Ranger policy evaluation needs to be enhanced to support a list of value for a resource. Policies that match for any of the given values should be evaluated to determine the access result. Note that this enhancement doesn't require any updates to the policy model; the changes are needed only in the policy-engine.

      Attachments

        1. RANGER-1999.patch
          40 kB
          Madhan Neethiraj
        2. RANGER-1999-2.patch
          40 kB
          Madhan Neethiraj

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: