public static void denyDropColumn(String tableName) { denyDropColumn(tableName, null); }
@Override public void checkCanDropColumn(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName) { denyDropColumn(tableName.toString()); }
@Override public void checkCanDropColumn(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName) { if (!allowDropColumn) { denyDropColumn(tableName.toString()); } }
/** * Check if identity is allowed to drop columns from the specified table in this catalog. * * @throws com.facebook.presto.spi.security.AccessDeniedException if not allowed */ default void checkCanDropColumn(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName) { denyDropColumn(tableName.toString()); }
/** * Check if identity is allowed to drop columns from the specified table in a catalog. * * @throws com.facebook.presto.spi.security.AccessDeniedException if not allowed */ default void checkCanDropColumn(Identity identity, CatalogSchemaTableName table) { denyDropColumn(table.toString()); }
@Override public void checkCanDropColumn(TransactionId transactionId, Identity identity, QualifiedObjectName tableName) { denyDropColumn(tableName.toString()); }
@Override public void checkCanDropColumn(ConnectorTransactionHandle transaction, Identity identity, SchemaTableName tableName) { if (!checkTablePermission(transaction, identity, tableName, OWNERSHIP)) { denyDropColumn(tableName.toString()); } }
@Override public void checkCanDropColumn(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName) { if (!checkTablePermission(identity, tableName, OWNERSHIP)) { denyDropColumn(tableName.toString()); } }
@Override public void checkCanDropColumn(TransactionId transactionId, Identity identity, QualifiedObjectName tableName) { if (shouldDenyPrivilege(identity.getUser(), tableName.getObjectName(), DROP_COLUMN)) { denyDropColumn(tableName.toString()); } super.checkCanDropColumn(transactionId, identity, tableName); }
public static void denyDropColumn(String tableName) { denyDropColumn(tableName, null); }
/** * Check if identity is allowed to drop columns from the specified table in this catalog. * * @throws com.facebook.presto.spi.security.AccessDeniedException if not allowed */ default void checkCanDropColumn(ConnectorTransactionHandle transactionHandle, Identity identity, SchemaTableName tableName) { denyDropColumn(tableName.toString()); }
/** * Check if identity is allowed to drop columns from the specified table in a catalog. * * @throws com.facebook.presto.spi.security.AccessDeniedException if not allowed */ default void checkCanDropColumn(Identity identity, CatalogSchemaTableName table) { denyDropColumn(table.toString()); }