[ https://issues.apache.org/jira/browse/IMPALA-9024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16954407#comment-16954407 ]
Quanlong Huang commented on IMPALA-9024: ---------------------------------------- [~weiliangwei], could you give more details about how to reproduce this issue? > get exception "AuthorizationException: User 'user_xql' does not have > privileges to execute 'CREATE' on: default" on hue , even if set all > privileges > ----------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: IMPALA-9024 > URL: https://issues.apache.org/jira/browse/IMPALA-9024 > Project: IMPALA > Issue Type: Bug > Components: Frontend > Affects Versions: Impala 3.2.0 > Reporter: liangwei wei > Priority: Blocker > > I integrated impala and sentry of cdh6.3.0 in hue and gave impala server > level "all" permissions, but I found that any Submission on hue showed no > permission to execute(oprate on hue!). After debug, it was found that sentry > would call bitFieldActionFactory. getActionByName (policy Value) to find > "all" action, but Action "all" in Privilege class was defined as *, so > resulted in null return and failed privilege validation. > so I think change the code in Privilege.java like this can solve problem > {code:java} > ALL("all", > SELECT.getCode() | > INSERT.getCode() | > ALTER.getCode() | > CREATE.getCode() | > DROP.getCode() | > REFRESH.getCode()) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org