Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1DEB119C6 for ; Wed, 20 Aug 2014 15:50:29 +0000 (UTC) Received: (qmail 52014 invoked by uid 500); 20 Aug 2014 15:50:29 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 51978 invoked by uid 500); 20 Aug 2014 15:50:29 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 51862 invoked by uid 99); 20 Aug 2014 15:50:29 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 15:50:29 +0000 Date: Wed, 20 Aug 2014 15:50:29 +0000 (UTC) From: "Matteo Bertozzi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11769) Truncate table shouldn't revoke user privileges MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-11769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14104056#comment-14104056 ] Matteo Bertozzi commented on HBASE-11769: ----------------------------------------- you can't backport that, since it will change the behavior of truncate. and if you want to keep the compatibility, you'll end up with older clients behaving in a way and the new clients in a different way. > Truncate table shouldn't revoke user privileges > ----------------------------------------------- > > Key: HBASE-11769 > URL: https://issues.apache.org/jira/browse/HBASE-11769 > Project: HBase > Issue Type: Bug > Components: security > Affects Versions: 0.94.15 > Reporter: hongyu bi > > hbase(main):002:0> create 'a','cf' > 0 row(s) in 0.2500 seconds > => Hbase::Table - a > hbase(main):003:0> grant 'usera','R','a' > 0 row(s) in 0.2080 seconds > hbase(main):007:0> user_permission 'a' > User Table,Family,Qualifier:Permission > usera a,,: [Permission: actions=READ] > hbase(main):004:0> truncate 'a' > Truncating 'a' table (it may take a while): > - Disabling table... > - Dropping table... > - Creating table... > 0 row(s) in 1.5320 seconds > hbase(main):005:0> user_permission 'a' > User Table,Family,Qualifier:Permission -- This message was sent by Atlassian JIRA (v6.2#6252)