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

"plugins/policies/download/cm_hive" and "xusers/download/{serviceName}" APIs not accessible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Ranger
    • None

    Description

      The API "{BASE_URL}/plugins/policies/download/cm_hive" is not accessible.
      API reference :- https://ranger.apache.org/apidocs/resource_ServiceREST.html#resource_ServiceREST_getServicePoliciesIfUpdated_GET

      The API request fails for both kerberos auth and for basic auth.
      The user has admin permissions and the user is a part of "policy.download.auth.users"
      in the hive repo. But still the request fails for the user when trying to download policies for hive service repo

      But the user can access the API "{BASE_URL}/plugins/secure/policies/download/{hive_service_repo}".

      Even the API "{BASE_URL}/service/xusers/download/{serviceName}" is not accessible
      This API is not listed in the Ranger REST API list as well, but it is present in the code base.

      If these two APIs are no longer supported, then the documentation has to be updated,
      else they should be made accessible

      Attachments

        Activity

          People

            dineshkumar-yadav Dineshkumar Yadav
            abhishek.patil Abhishek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: