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

Ranger update policy API is failing on Postgres / Oracle for case sensitive ACLs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.7.1
    • admin
    • None

    Description

      When user tries to disable a ranger policy via REST API with postgres DB, then it gives this error, it works on MySQL though :

      {u'msgDesc': u"Create: is not a valid access-type. policy='cl1_hive-87808627-ac26-499a-bea8-e99677a41889' service='cl1_hive'", u'statusCode': 1}
      

      Mainly : This is a case sensitive issue on postgres / Oracle for ACLs, need to keep it consistent for GET and PUT calls for policies.

      Attachments

        1. RANGER-1459.patch
          3 kB
          Gautam Borad

        Activity

          People

            gautamborad Gautam Borad
            mehul Mehul Parikh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: