[
https://issues.apache.org/jira/browse/HBASE-12142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14155296#comment-14155296
]
Ted Yu commented on HBASE-12142:
--------------------------------
{code}
- requirePermission("truncateTable", tableName, null, null, Action.ADMIN,
Action.CREATE);
+ requirePermission("truncateTable", tableName, null, null, Action.ADMIN);
{code}
Is dropping Action.CREATE intentional ?
{code}
+ shouldPreserveAcls =
conf.getBoolean(AccessControlConstants.PRESERVE_ACLS_ON_TRUNCATE, true);
{code}
Where is the above variable used ?
> Truncate command does not preserve ACLs table
> ---------------------------------------------
>
> Key: HBASE-12142
> URL: https://issues.apache.org/jira/browse/HBASE-12142
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.98.6
> Reporter: Vandana Ayyalasomayajula
> Assignee: Vandana Ayyalasomayajula
> Priority: Minor
> Labels: security
> Attachments: HBASE-12142_0.patch
>
>
> The current truncate command does not preserve acls on a table.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)