sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Yu (JIRA)" <>
Subject [jira] [Created] (SENTRY-746) After revoke select from view, select fails with a confusing error message
Date Wed, 27 May 2015 18:58:17 GMT
Anne Yu created SENTRY-746:

             Summary: After revoke select from view, select fails with a confusing error message
                 Key: SENTRY-746
             Project: Sentry
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.5.0
            Reporter: Anne Yu

This is an error message issue. If user is revoked select privilege from a view, the failure
reason seems confusing.
2015-05-26 22:20:56,748 (pool-16-thread-3) [INFO - org.apache.sentry.tests.e2e.minisentry.InternalSentrySrv$SentryThriftEvenHandler.deleteContext(]
Client Disonnected: 47
FAILED: SemanticException No valid privileges
 Required privileges for this query: Server=server1->Db=test_complex_view_database->Table=*->Column=*->action=insert;Server=server1->Db=test_complex_view_database->Table=*->Column=*->action=select;Server=server1->Db=test_complex_view_database->Table=*->Column=*->action=alter;Server=server1->Db=test_complex_view_database->Table=*->Column=*->action=create;Server=server1->Db=test_complex_view_database->Table=*->Column=*->action=drop;Server=server1->Db=test_complex_view_database->Table=*->Column=*->action=index;Server=server1->Db=test_complex_view_database->Table=*->Column=*->action=lock;

This message was sent by Atlassian JIRA

View raw message