OmniSciDB
a5dc49c757
|
Functions | |
template<typename XDEBUG_OPTION , typename REMOTE_DEBUG_OPTION , typename... REMAINING_ARGS> | |
int | wrapped_execlp (char const *path, XDEBUG_OPTION &&x_debug, REMOTE_DEBUG_OPTION &&remote_debug, REMAINING_ARGS &&...standard_args) |
void | check_db_access (const Catalog_Namespace::SessionInfo &session_info, const Catalog_Namespace::Catalog &accessed_catalog) |
void | checkPermissionForTables (const Catalog_Namespace::SessionInfo &session_info, std::vector< std::vector< std::string >> tableOrViewNames, AccessPrivileges tablePrivs, AccessPrivileges viewPrivs) |
void anonymous_namespace{Calcite.cpp}::check_db_access | ( | const Catalog_Namespace::SessionInfo & | session_info, |
const Catalog_Namespace::Catalog & | accessed_catalog | ||
) |
Definition at line 423 of file Calcite.cpp.
References AccessPrivileges::ACCESS, DatabaseDBObjectType, Catalog_Namespace::SessionInfo::get_currentUser(), Catalog_Namespace::SysCatalog::instance(), DBObject::loadKey(), Catalog_Namespace::Catalog::name(), and DBObject::setPrivileges().
Referenced by checkPermissionForTables().
void anonymous_namespace{Calcite.cpp}::checkPermissionForTables | ( | const Catalog_Namespace::SessionInfo & | session_info, |
std::vector< std::vector< std::string >> | tableOrViewNames, | ||
AccessPrivileges | tablePrivs, | ||
AccessPrivileges | viewPrivs | ||
) |
Definition at line 437 of file Calcite.cpp.
References CHECK, check_db_access(), DBObjectKey::dbId, Catalog_Namespace::SessionInfo::get_currentUser(), Catalog_Namespace::SysCatalog::getCatalog(), AccessPrivileges::hasAny(), Catalog_Namespace::SysCatalog::instance(), TableDescriptor::isView, DBObjectKey::objectId, DBObjectKey::permissionType, TableDBObjectType, TableDescriptor::tableId, TableDescriptor::userId, Catalog_Namespace::UserMetadata::userLoggable(), and ViewDBObjectType.
Referenced by Calcite::checkAccessedObjectsPrivileges().
int anonymous_namespace{Calcite.cpp}::wrapped_execlp | ( | char const * | path, |
XDEBUG_OPTION && | x_debug, | ||
REMOTE_DEBUG_OPTION && | remote_debug, | ||
REMAINING_ARGS &&... | standard_args | ||
) |
Definition at line 58 of file Calcite.cpp.
Referenced by start_calcite_server_as_daemon().