OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
MongoRoleFunctions.h File Reference

Go to the source code of this file.

Namespaces

namespace  MongoRoleFunctions
 

Functions

bool MongoRoleFunctions::createInitialProjectRole (mongocxx::client &adminClient)
 
bool MongoRoleFunctions::createInitialProjectDbListCollectionsRole (mongocxx::client &adminClient)
 
bool MongoRoleFunctions::createInitialUserRole (mongocxx::client &adminClient)
 
bool MongoRoleFunctions::createInitialUserDbListCollectionsRole (mongocxx::client &adminClient)
 
bool MongoRoleFunctions::createInitialGroupRole (mongocxx::client &adminClient)
 
bool MongoRoleFunctions::createInitialProjectTemplatesRole (mongocxx::client &adminClient)
 
bool MongoRoleFunctions::createInitialProjectsLargeDataRole (mongocxx::client &adminClient)
 
bool MongoRoleFunctions::createInitialSystemDbRole (mongocxx::client &adminClient)
 
bool MongoRoleFunctions::createInitialSettingsDbRole (mongocxx::client &adminClient)
 
bool MongoRoleFunctions::createAllAccessibleRole (std::string dbName, std::string roleName, mongocxx::client &adminClient)
 
void MongoRoleFunctions::createProjectRole (std::string roleName, std::string collectionName, mongocxx::client &adminClient)
 
void MongoRoleFunctions::createUserRole (std::string roleName, mongocxx::client &adminClient)
 
void MongoRoleFunctions::addRoleToUserRole (std::string roleName, User &user, mongocxx::client &adminClient)
 
void MongoRoleFunctions::addRoleToUserRole (std::string roleName, std::string userRoleName, mongocxx::client &adminClient)
 
void MongoRoleFunctions::removeRoleFromUserRole (std::string roleName, User &user, mongocxx::client &adminClient)
 
void MongoRoleFunctions::createGroupRole (std::string roleName, mongocxx::client &adminClient)
 
void MongoRoleFunctions::addRoleToGroupRole (std::string roleName, Group &group, mongocxx::client &adminClient)
 
void MongoRoleFunctions::removeRoleFromGroupRole (std::string roleName, Group &group, mongocxx::client &adminClient)
 
void MongoRoleFunctions::addRoleToUser (std::string roleName, std::string username, mongocxx::client &adminClient)
 
void MongoRoleFunctions::removeRoleFromUser (std::string roleName, std::string username, mongocxx::client &adminClient)
 
void MongoRoleFunctions::removeRole (std::string roleName, mongocxx::client &adminClient)