Uses of Enum Class
io.trino.spi.security.Privilege
Packages that use Privilege
-
Uses of Privilege in io.trino.spi.connector
Methods in io.trino.spi.connector with parameters of type PrivilegeModifier and TypeMethodDescriptiondefault voidConnectorAccessControl.checkCanDenySchemaPrivilege(ConnectorSecurityContext context, Privilege privilege, String schemaName, TrinoPrincipal grantee) Check if identity is allowed to deny to any other user the specified privilege on the specified schema.default voidConnectorAccessControl.checkCanDenyTablePrivilege(ConnectorSecurityContext context, Privilege privilege, SchemaTableName tableName, TrinoPrincipal grantee) Check if identity is allowed to deny to any other user the specified privilege on the specified table.default voidConnectorAccessControl.checkCanGrantSchemaPrivilege(ConnectorSecurityContext context, Privilege privilege, String schemaName, TrinoPrincipal grantee, boolean grantOption) Check if identity is allowed to grant to any other user the specified privilege on the specified schema.default voidConnectorAccessControl.checkCanGrantTablePrivilege(ConnectorSecurityContext context, Privilege privilege, SchemaTableName tableName, TrinoPrincipal grantee, boolean grantOption) Check if identity is allowed to grant to any other user the specified privilege on the specified table.default voidConnectorAccessControl.checkCanRevokeSchemaPrivilege(ConnectorSecurityContext context, Privilege privilege, String schemaName, TrinoPrincipal revokee, boolean grantOption) default voidConnectorAccessControl.checkCanRevokeTablePrivilege(ConnectorSecurityContext context, Privilege privilege, SchemaTableName tableName, TrinoPrincipal revokee, boolean grantOption) Check if identity is allowed to revoke the specified privilege on the specified table from any user.Method parameters in io.trino.spi.connector with type arguments of type PrivilegeModifier and TypeMethodDescriptiondefault voidConnectorMetadata.denySchemaPrivileges(ConnectorSession session, String schemaName, Set<Privilege> privileges, TrinoPrincipal grantee) Denys the specified privilege to the specified user on the specified schemadefault voidConnectorMetadata.denyTablePrivileges(ConnectorSession session, SchemaTableName tableName, Set<Privilege> privileges, TrinoPrincipal grantee) Denys the specified privilege to the specified user on the specified tabledefault voidConnectorMetadata.grantSchemaPrivileges(ConnectorSession session, String schemaName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption) Grants the specified privilege to the specified user on the specified schemadefault voidConnectorMetadata.grantTablePrivileges(ConnectorSession session, SchemaTableName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption) Grants the specified privilege to the specified user on the specified tabledefault voidConnectorMetadata.revokeSchemaPrivileges(ConnectorSession session, String schemaName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption) Revokes the specified privilege on the specified schema from the specified userdefault voidConnectorMetadata.revokeTablePrivileges(ConnectorSession session, SchemaTableName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption) Revokes the specified privilege on the specified table from the specified user -
Uses of Privilege in io.trino.spi.security
Subclasses with type arguments of type Privilege in io.trino.spi.securityMethods in io.trino.spi.security that return PrivilegeModifier and TypeMethodDescriptionPrivilegeInfo.getPrivilege()static PrivilegeReturns the enum constant of this class with the specified name.static Privilege[]Privilege.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.trino.spi.security with parameters of type PrivilegeModifier and TypeMethodDescriptiondefault voidSystemAccessControl.checkCanDenySchemaPrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaName schema, TrinoPrincipal grantee) Check if identity is allowed to deny the specified privilege to the grantee on the specified schema.default voidSystemAccessControl.checkCanDenyTablePrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaTableName table, TrinoPrincipal grantee) Check if identity is allowed to deny the specified privilege to the grantee on the specified table.default voidSystemAccessControl.checkCanGrantSchemaPrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaName schema, TrinoPrincipal grantee, boolean grantOption) Check if identity is allowed to grant the specified privilege to the grantee on the specified schema.default voidSystemAccessControl.checkCanGrantTablePrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaTableName table, TrinoPrincipal grantee, boolean grantOption) Check if identity is allowed to grant the specified privilege to the grantee on the specified table.default voidSystemAccessControl.checkCanRevokeSchemaPrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaName schema, TrinoPrincipal revokee, boolean grantOption) Check if identity is allowed to revoke the specified privilege on the specified schema from the revokee.default voidSystemAccessControl.checkCanRevokeTablePrivilege(SystemSecurityContext context, Privilege privilege, CatalogSchemaTableName table, TrinoPrincipal revokee, boolean grantOption) Check if identity is allowed to revoke the specified privilege on the specified table from the revokee.Constructors in io.trino.spi.security with parameters of type Privilege