hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-5787) Table owner can't disable/delete its own table
Date Fri, 13 Apr 2012 22:49:17 GMT
Table owner can't disable/delete its own table

                 Key: HBASE-5787
                 URL: https://issues.apache.org/jira/browse/HBASE-5787
             Project: HBase
          Issue Type: Bug
          Components: security
    Affects Versions: 0.92.1, 0.94.0, 0.96.0
            Reporter: Matteo Bertozzi
            Priority: Minor
         Attachments: HBASE-5787-v0.patch

An user with CREATE privileges can create a table, but can not disable it, because disable
operation require ADMIN privileges. Also if a table is already disabled, anyone can remove
public void preDeleteTable(ObserverContext<MasterCoprocessorEnvironment> c,
    byte[] tableName) throws IOException {

public void preDisableTable(ObserverContext<MasterCoprocessorEnvironment> c,
    byte[] tableName) throws IOException {
  /* TODO: Allow for users with global CREATE permission and the table owner */

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message