summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_user_management_commands.cpp
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2016-03-15 14:45:23 -0400
committerMisha Tyulenev <misha@mongodb.com>2016-03-15 14:47:13 -0400
commit6f684e82c6d0aa1d1cef98f48dcae41010666a9a (patch)
treeefd384590f253241bb577b3ff8c76d0834054bea /src/mongo/s/commands/cluster_user_management_commands.cpp
parent652e3577be3d157cec039d0b017cf7e2d6e2c7c6 (diff)
downloadmongo-6f684e82c6d0aa1d1cef98f48dcae41010666a9a.tar.gz
SERVER-23024 remove isWriteCommandForConfigServer method
Diffstat (limited to 'src/mongo/s/commands/cluster_user_management_commands.cpp')
-rw-r--r--src/mongo/s/commands/cluster_user_management_commands.cpp57
1 files changed, 0 insertions, 57 deletions
diff --git a/src/mongo/s/commands/cluster_user_management_commands.cpp b/src/mongo/s/commands/cluster_user_management_commands.cpp
index a3d98a0fc0a..0f435706e56 100644
--- a/src/mongo/s/commands/cluster_user_management_commands.cpp
+++ b/src/mongo/s/commands/cluster_user_management_commands.cpp
@@ -60,9 +60,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Adds a user to the system";
@@ -98,9 +95,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Used to update a user, for example to change its password";
@@ -147,9 +141,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Drops a single user.";
@@ -194,9 +185,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Drops all users for a single database.";
@@ -234,9 +222,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Grants roles to a user.";
@@ -282,9 +267,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Revokes roles from a user.";
@@ -332,9 +314,6 @@ public:
return true;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
CmdUsersInfo() : Command("usersInfo") {}
@@ -367,9 +346,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Adds a role to the system";
@@ -401,9 +377,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Used to update a role";
@@ -441,9 +414,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Grants privileges to a role";
@@ -481,9 +451,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Revokes privileges from a role";
@@ -521,9 +488,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Grants roles to another role.";
@@ -561,9 +525,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Revokes roles from another role.";
@@ -601,9 +562,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Drops a single role. Before deleting the role completely it must remove it "
@@ -644,9 +602,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Drops all roles from the given database. Before deleting the roles completely "
@@ -692,9 +647,6 @@ public:
return true;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Returns information about roles.";
@@ -729,9 +681,6 @@ public:
return true;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual void help(stringstream& ss) const {
ss << "Invalidates the in-memory cache of user information";
@@ -775,9 +724,6 @@ public:
return false;
}
- virtual bool isWriteCommandForConfigServer() const {
- return false;
- }
virtual bool adminOnly() const {
return true;
@@ -855,9 +801,6 @@ public:
return true;
}
- virtual bool isWriteCommandForConfigServer() const {
- return true;
- }
virtual void help(stringstream& ss) const {
ss << "Upgrades the auth data storage schema";