You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Bolke de Bruin (JIRA)" <ji...@apache.org> on 2019/07/08 20:03:00 UTC

[jira] [Commented] (RANGER-2502) Presto plugin insert bug

    [ https://issues.apache.org/jira/browse/RANGER-2502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880675#comment-16880675 ] 

Bolke de Bruin commented on RANGER-2502:
----------------------------------------

Good ctach. The service definition is incorrect. Will provide a fix.

> 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
>
> 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)