From 17d6a993fc17d533460c5f40f3908c708e057c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 23 May 2024 18:45:17 +0200 Subject: Merging upstream version 18.2.3. Signed-off-by: Daniel Baumann --- src/mon/AuthMonitor.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mon/AuthMonitor.cc') 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"; -- cgit v1.2.3