[
https://issues.apache.org/jira/browse/RANGER-2502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880678#comment-16880678
]
Bolke de Bruin commented on RANGER-2502:
----------------------------------------
cc [~abhayk] while you are at it ;)
> Presto plugin insert bug
> ------------------------
>
> Key: RANGER-2502
> URL: https://issues.apache.org/jira/browse/RANGER-2502
> Project: Ranger
> Issue Type: Bug
> Components: admin, plugins
> Affects Versions: 2.0.0
> Reporter: Pedro Gonçalves Rossi Rodrigues
> Priority: Major
> Attachments:
> 0001-RANGER-2502-Correct-service-definition-for-presto.patch
>
>
> 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)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)