[
https://issues.apache.org/jira/browse/SENTRY-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227162#comment-14227162
]
Lenni Kuff edited comment on SENTRY-543 at 11/27/14 2:29 AM:
-------------------------------------------------------------
The failure was actually because there was a subtle bug in one of the tests
that was actually hiding this issue. The problem is that the test did the
following:
# grant all col1
# grant all col2
# revoke insert col2
# revoke select table
# verify # of privileges == 0.
however, the test should actually have 1 privilege left since insert was only
revoked from one of the columns. Fixed the test, but found another issue with
column-level privileges that is related to the partial revoke logic (see
SENTRY-552).
was (Author: lskuff):
The failure was actually because there was a subtle bug in one of the tests
that was actually hiding this issue. The problem is that the test did the
following:
# grant all col1
# grant all col2
# revoke insert col2
# revoke select table
# verify # of privileges == 0.
however, the test should actually have 1 privilege left since insert was only
revoked from one of the columns. Fixed the test, but found another issue with
column-level privileges (see SENTRY-552).
> Sentry Store permission dump incorrect after recursive revoke
> -------------------------------------------------------------
>
> Key: SENTRY-543
> URL: https://issues.apache.org/jira/browse/SENTRY-543
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 1.4.0
> Reporter: Arun Suresh
> Assignee: Lenni Kuff
> Fix For: 1.5.0
>
> Attachments: SENTRY-543.1.patch, SENTRY-543.2.patch,
> SENTRY-543.3.test, SENTRY-543.test.2.patch, SENTRY-543.test.patch
>
>
> The {{SentryStore}} exposes an method to dump the complete permission image..
> this is used to push full sync messages to the Sentry Namenode plugin.
> For some reason, this image dump is incorrect after a recursive revoke
> operation.
> Attaching testcase to reproduce this issue..
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)