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

Service enable/disable should refresh the policies in the plugins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.6.0
    • admin
    • None

    Description

      When a service is disabled, the plugins should be refreshed with empty policy list - as if no policy exists in the service. In this case, the components like HDFS and YARN will enforce component ACLs (since fallback is set to true by default); other components will deny any access - since there is no policy exists to allow any access. And when the service is enabled, the plugins should be refreshed with the policies in the service. To achieve this:

      • the policyVersion associated with the service should be incremented whenever the service is enabled or disabled. So that the next policy refresh call will send updated policy list
      • the policy refresh implementation should return empty policy list when service is disabled

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: