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

Presto plugin insert bug

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: admin, plugins
    • Labels:
      None

      Description

      I wasn't able to insert anything even with the admin user until I changed from INSERT to UPDATE on the following line https://github.com/apache/ranger/blob/master/plugin-presto/src/main/java/org/apache/ranger/authorization/presto/authorizer/RangerSystemAccessControl.java#L458 , I don't know if this is the admin fault because it is not showing the INSERT permission or it really should use UPDATE instead of INSERT, but I think it makes more sense to show INSERT instead of UPDATE since presto sql syntax doesn't have an UPDATE statement (https://prestosql.io/docs/current/sql.html)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pedro.rossi Pedro Rossi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: