[ https://issues.apache.org/jira/browse/HBASE-10892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957250#comment-13957250 ]
Esteban Gutierrez commented on HBASE-10892: ------------------------------------------- {quote} I think that the glob only for "all tables" may be confusing, because then you can't do "tableName*" you must use "tableName.*" but I'm ok having it as a special "all tables" case. {quote} I can add the missing . to the regex so it can work both ways. {quote} admin.getTableNames() is and was committed as Deprecated. I know that is used in other places, but we should decide if we want to use that for new code or not and later replace it where is used. {quote} I can add another implementation without {{admin.getTableNames()}} will that work [~mbertozzi]? > Add support for globs in user_permission > ---------------------------------------- > > Key: HBASE-10892 > URL: https://issues.apache.org/jira/browse/HBASE-10892 > Project: HBase > Issue Type: Improvement > Components: shell > Affects Versions: 0.99.0 > Reporter: Esteban Gutierrez > Assignee: Esteban Gutierrez > Attachments: HBASE-10892.v0.diff > > > It would be nice for {{user_permission}} to show all the permissions for all > the tables or a subset of tables if a glob (regex) is provided. > {code} > hbase> user_permission '*' > User Table,Family,Qualifier:Permission > esteban x,,: [Permission: > actions=READ,WRITE,EXEC,CREATE,ADMIN] > hbase1 y,,: [Permission: > actions=READ,WRITE] > hbase2 z,,: [Permission: > actions=READ,WRITE] > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)