summaryrefslogtreecommitdiffstats
path: root/src/mon/AuthMonitor.cc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mon/AuthMonitor.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mon/AuthMonitor.cc b/src/mon/AuthMonitor.cc
index 395ff4926..59adc404e 100644
--- a/src/mon/AuthMonitor.cc
+++ b/src/mon/AuthMonitor.cc
@@ -1769,11 +1769,6 @@ bool AuthMonitor::prepare_command(MonOpRequestRef op)
++it;
}
- if (cap != "r" && cap.compare(0, 2, "rw")) {
- ss << "Permission flags must start with 'r' or 'rw'.";
- err = -EINVAL;
- goto done;
- }
if (cap.compare(0, 2, "rw") == 0)
osd_cap_wanted = "rw";