requireGlobalPermission("getTableDescriptors", Permission.Action.ADMIN, null, null);
}
// Otherwise, if the requestor has ADMIN or CREATE privs for all listed tables, the
// request can be granted.
else {
MasterServices masterServices = ctx.getEnvironment().getMasterServices();
for (TableName tableName: tableNamesList) {
// Do not deny if the table does not exist
try {
masterServices.checkTableModifiable(tableName);
} catch (TableNotFoundException ex) {
// Skip checks for a table that does not exist
continue;
} catch (TableNotDisabledException ex) {
// We don't care about this