| Package | Description |
|---|---|
| com.facebook.presto.spi.security |
| Modifier and Type | Method and Description |
|---|---|
default void |
SystemAccessControl.checkCanAddColumn(Identity identity,
AccessControlContext context,
CatalogSchemaTableName table)
Check if identity is allowed to add columns to the specified table in a catalog.
|
default void |
SystemAccessControl.checkCanCreateTable(Identity identity,
AccessControlContext context,
CatalogSchemaTableName table)
Check if identity is allowed to create the specified table in a catalog.
|
default void |
SystemAccessControl.checkCanCreateView(Identity identity,
AccessControlContext context,
CatalogSchemaTableName view)
Check if identity is allowed to create the specified view in a catalog.
|
default void |
SystemAccessControl.checkCanCreateViewWithSelectFromColumns(Identity identity,
AccessControlContext context,
CatalogSchemaTableName table,
Set<String> columns)
Check if identity is allowed to create a view that selects from the specified columns in a relation.
|
default void |
SystemAccessControl.checkCanDeleteFromTable(Identity identity,
AccessControlContext context,
CatalogSchemaTableName table)
Check if identity is allowed to delete from the specified table in a catalog.
|
default void |
SystemAccessControl.checkCanDropColumn(Identity identity,
AccessControlContext context,
CatalogSchemaTableName table)
Check if identity is allowed to drop columns from the specified table in a catalog.
|
default void |
SystemAccessControl.checkCanDropTable(Identity identity,
AccessControlContext context,
CatalogSchemaTableName table)
Check if identity is allowed to drop the specified table in a catalog.
|
default void |
SystemAccessControl.checkCanDropView(Identity identity,
AccessControlContext context,
CatalogSchemaTableName view)
Check if identity is allowed to drop the specified view in a catalog.
|
default void |
SystemAccessControl.checkCanGrantTablePrivilege(Identity identity,
AccessControlContext context,
Privilege privilege,
CatalogSchemaTableName table,
PrestoPrincipal grantee,
boolean withGrantOption)
Check if identity is allowed to grant the specified privilege to the grantee on the specified table.
|
default void |
SystemAccessControl.checkCanInsertIntoTable(Identity identity,
AccessControlContext context,
CatalogSchemaTableName table)
Check if identity is allowed to insert into the specified table in a catalog.
|
default void |
SystemAccessControl.checkCanRenameColumn(Identity identity,
AccessControlContext context,
CatalogSchemaTableName table)
Check if identity is allowed to rename a column in the specified table in a catalog.
|
default void |
SystemAccessControl.checkCanRenameTable(Identity identity,
AccessControlContext context,
CatalogSchemaTableName table,
CatalogSchemaTableName newTable)
Check if identity is allowed to rename the specified table in a catalog.
|
default void |
SystemAccessControl.checkCanRevokeTablePrivilege(Identity identity,
AccessControlContext context,
Privilege privilege,
CatalogSchemaTableName table,
PrestoPrincipal revokee,
boolean grantOptionFor)
Check if identity is allowed to revoke the specified privilege on the specified table from the revokee.
|
default void |
SystemAccessControl.checkCanSelectFromColumns(Identity identity,
AccessControlContext context,
CatalogSchemaTableName table,
Set<String> columns)
Check if identity is allowed to select from the specified columns in a relation.
|
default void |
SystemAccessControl.checkCanTruncateTable(Identity identity,
AccessControlContext context,
CatalogSchemaTableName table)
Check if identity is allowed to truncate the specified table in a catalog.
|
Copyright © 2012–2022. All rights reserved.