You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Adam Holley (JIRA)" <ji...@apache.org> on 2018/08/27 03:35:00 UTC

[jira] [Created] (IMPALA-7491) Throw AuthorizationException for non-existent roles and users for SHOW GRANT

Adam Holley created IMPALA-7491:
-----------------------------------

             Summary: Throw AuthorizationException for non-existent roles and users for SHOW GRANT
                 Key: IMPALA-7491
                 URL: https://issues.apache.org/jira/browse/IMPALA-7491
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
    Affects Versions: Impala 3.1.0
            Reporter: Adam Holley


Currently SHOW GRANT ROLE/USER will display an error that "Role/User 'foo' does not exist" even though if the role/user did exist they would not have privileges to view the role.  As with other parts of the code, we should throw an AuthorizationException instead of an AnalysisException if the user would not have privileges if the object existed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org