Package io.trino.plugin.base.security
Class DefaultSystemAccessControl
java.lang.Object
io.trino.plugin.base.security.AllowAllSystemAccessControl
io.trino.plugin.base.security.DefaultSystemAccessControl
- All Implemented Interfaces:
SystemAccessControl
Default system access control rules.
By default all access is allowed except for user impersonation.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckCanImpersonateUser(SystemSecurityContext context, String userName) voidMethods inherited from class io.trino.plugin.base.security.AllowAllSystemAccessControl
checkCanAccessCatalog, checkCanAddColumn, checkCanAlterColumn, checkCanCreateCatalog, checkCanCreateMaterializedView, checkCanCreateRole, checkCanCreateSchema, checkCanCreateTable, checkCanCreateView, checkCanCreateViewWithSelectFromColumns, checkCanDeleteFromTable, checkCanDenySchemaPrivilege, checkCanDenyTablePrivilege, checkCanDropCatalog, checkCanDropColumn, checkCanDropMaterializedView, checkCanDropRole, checkCanDropSchema, checkCanDropTable, checkCanDropView, checkCanExecuteFunction, checkCanExecuteFunction, checkCanExecuteProcedure, checkCanExecuteQuery, checkCanExecuteTableProcedure, checkCanGrantExecuteFunctionPrivilege, checkCanGrantExecuteFunctionPrivilege, checkCanGrantRoles, checkCanGrantSchemaPrivilege, checkCanGrantTablePrivilege, checkCanInsertIntoTable, checkCanKillQueryOwnedBy, checkCanReadSystemInformation, checkCanRefreshMaterializedView, checkCanRenameColumn, checkCanRenameMaterializedView, checkCanRenameSchema, checkCanRenameTable, checkCanRenameView, checkCanRevokeRoles, checkCanRevokeSchemaPrivilege, checkCanRevokeTablePrivilege, checkCanSelectFromColumns, checkCanSetCatalogSessionProperty, checkCanSetColumnComment, checkCanSetMaterializedViewProperties, checkCanSetSchemaAuthorization, checkCanSetSystemSessionProperty, checkCanSetTableAuthorization, checkCanSetTableComment, checkCanSetTableProperties, checkCanSetUser, checkCanSetViewAuthorization, checkCanSetViewComment, checkCanShowColumns, checkCanShowCreateSchema, checkCanShowCreateTable, checkCanShowCurrentRoles, checkCanShowRoleGrants, checkCanShowRoles, checkCanShowSchemas, checkCanShowTables, checkCanTruncateTable, checkCanUpdateTableColumns, checkCanViewQueryOwnedBy, filterCatalogs, filterColumns, filterSchemas, filterTables, filterViewQueryOwnedBy, getColumnMask, getEventListeners, getRowFilters
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
DefaultSystemAccessControl
public DefaultSystemAccessControl()
-
-
Method Details
-
checkCanImpersonateUser
- Specified by:
checkCanImpersonateUserin interfaceSystemAccessControl- Overrides:
checkCanImpersonateUserin classAllowAllSystemAccessControl
-
checkCanWriteSystemInformation
- Specified by:
checkCanWriteSystemInformationin interfaceSystemAccessControl- Overrides:
checkCanWriteSystemInformationin classAllowAllSystemAccessControl
-