Rahul Challapalli created DRILL-3828:
----------------------------------------

             Summary: Metadata Caching + Impersonation : Inconsistency in 
reporting a permission error
                 Key: DRILL-3828
                 URL: https://issues.apache.org/jira/browse/DRILL-3828
             Project: Apache Drill
          Issue Type: Bug
          Components: Metadata
            Reporter: Rahul Challapalli
            Assignee: Mehant Baid


git.commit.id.abbrev=3c89b30

User A has permissions to lineitem and lineitem/2006. He does not have access 
to lineitem/2007

Scenario 1 : There is already a cache file created by a different user in the 
lineitem folder, then
    a) refresh table metadata lineitem : succeeds
    b) refresh table metadata `lineitem/2007` : fails with a permission error

Scenario 2 : There is no cache file in the lineitem folder, then
    a) refresh table metadata lineitem : fails with permission error
    b) refresh table metadata `lineitem/2007` : fails with a permission error

Scenario 2 seems to be the expected result in this case as the cache file 
contains metadata information about file from within the sub-directories as well




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to