OmniSciDB
a5dc49c757
|
#include <SysCatalog.h>
Public Member Functions | |
bool | wouldChange (UserMetadata const &user_meta) const |
std::string | toString (bool hide_password=true) const |
Public Attributes | |
std::optional< std::string > | passwd |
std::optional< bool > | is_super |
std::optional< std::string > | default_db |
std::optional< bool > | can_login |
Definition at line 116 of file SysCatalog.h.
std::string Catalog_Namespace::UserAlterations::toString | ( | bool | hide_password = true | ) | const |
Definition at line 1194 of file SysCatalog.cpp.
References can_login, default_db, is_super, and passwd.
Referenced by Catalog_Namespace::SysCatalog::syncUserWithRemoteProvider().
bool Catalog_Namespace::UserAlterations::wouldChange | ( | UserMetadata const & | user_meta | ) | const |
Definition at line 1168 of file SysCatalog.cpp.
References Catalog_Namespace::UserMetadata::can_login, can_login, Catalog_Namespace::DBMetadata::dbId, default_db, Catalog_Namespace::UserMetadata::defaultDbId, Catalog_Namespace::SysCatalog::getMetadataForDB(), anonymous_namespace{SysCatalog.cpp}::hash_with_bcrypt(), Catalog_Namespace::SysCatalog::instance(), is_super, Catalog_Namespace::UserMetadata::isSuper, passwd, and Catalog_Namespace::UserMetadata::passwd_hash.
Referenced by Catalog_Namespace::SysCatalog::alterUser(), and Catalog_Namespace::SysCatalog::syncUserWithRemoteProvider().
std::optional<bool> Catalog_Namespace::UserAlterations::can_login |
Definition at line 120 of file SysCatalog.h.
Referenced by Catalog_Namespace::SysCatalog::alterUser(), Catalog_Namespace::SysCatalog::createUser(), Parser::CreateUserStmt::execute(), Parser::AlterUserStmt::execute(), toString(), and wouldChange().
std::optional<std::string> Catalog_Namespace::UserAlterations::default_db |
Definition at line 119 of file SysCatalog.h.
Referenced by Catalog_Namespace::SysCatalog::alterUser(), Catalog_Namespace::SysCatalog::createUser(), Parser::CreateUserStmt::execute(), Parser::AlterUserStmt::execute(), toString(), and wouldChange().
std::optional<bool> Catalog_Namespace::UserAlterations::is_super |
Definition at line 118 of file SysCatalog.h.
Referenced by Catalog_Namespace::SysCatalog::alterUser(), Catalog_Namespace::SysCatalog::createUser(), Parser::CreateUserStmt::execute(), Parser::AlterUserStmt::execute(), heavydb.thrift.ttypes.TSessionInfo::read(), toString(), wouldChange(), and heavydb.thrift.ttypes.TSessionInfo::write().
std::optional<std::string> Catalog_Namespace::UserAlterations::passwd |
Definition at line 117 of file SysCatalog.h.
Referenced by Catalog_Namespace::SysCatalog::alterUser(), Catalog_Namespace::SysCatalog::createUser(), Parser::CreateUserStmt::execute(), Parser::AlterUserStmt::execute(), heavydb.thrift.Heavy.connect_args::read(), Catalog_Namespace::SysCatalog::syncUserWithRemoteProvider(), toString(), wouldChange(), and heavydb.thrift.Heavy.connect_args::write().