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

Optimize tag enricher for requests containing empty resource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.0, 0.6.1
    • 0.7.0
    • plugins
    • None

    Description

      A notion of empty resource is used by plugins like Hive to check if user has the given access to any resource. A special case of this usage is the 'show databases' command in Hive, which checks if the requesting user has 'any' access to any resource in the system. In this case, the tag enricher should attempt to find if the user has been granted access via a tag associated with any resource in the service i.e. any database/table/column. The algorithm to find the tags that match for the given resource can be optimized to handle this special case by simply retuning all the tags associated with all resources in the service - eliminating the need to attempt resource matching.

      Attachments

        Activity

          People

            abhayk Abhay Kulkarni
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: