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 "Quanlong Huang (Jira)" <ji...@apache.org> on 2022/04/08 05:26:00 UTC

[jira] [Updated] (IMPALA-10326) PrincipalPrivilegeTree doesn't handle empty string and wildcards correctly

     [ https://issues.apache.org/jira/browse/IMPALA-10326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Quanlong Huang updated IMPALA-10326:
------------------------------------
    Target Version: Impala 3.4.2  (was: Impala 3.4.1)

> PrincipalPrivilegeTree doesn't handle empty string and wildcards correctly
> --------------------------------------------------------------------------
>
>                 Key: IMPALA-10326
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10326
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>    Affects Versions: Impala 3.4.0
>            Reporter: Csaba Ringhofer
>            Assignee: Quanlong Huang
>            Priority: Major
>              Labels: sentry
>
> Two bugs slipped through the tests in IMPALA-9242:
> 1. It assumes that unfilled elements in a privilege (e.g. table in a database privilege) are null, which is true in FE tests, but it is an empty string when the privilege comes from SentryPrivilege.
> 2. wildcards (e.g. * in server=server1->db=tpcds->table=*) are not handled well in the tree - it will be added as a table level privilege, while it should be added as a database-wide privilege



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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