]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: permit MDS daemons to do blacklisting
authorJohn Spray <john.spray@redhat.com>
Thu, 23 Feb 2017 11:30:34 +0000 (11:30 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 23 May 2017 09:22:15 +0000 (05:22 -0400)
Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/MonCap.cc

index 558e67d9cca2fa2330c0dfbb65ea671dd657ebce..ec335752cdd2c333c212c970872f72b94ada2d66 100644 (file)
@@ -165,6 +165,7 @@ void MonCapGrant::expand_profile_mon(const EntityName& name) const
     profile_grants.push_back(MonCapGrant("osd", MON_CAP_R));
     // This command grant is checked explicitly in MRemoveSnaps handling
     profile_grants.push_back(MonCapGrant("osd pool rmsnap"));
+    profile_grants.push_back(MonCapGrant("osd blacklist"));
     profile_grants.push_back(MonCapGrant("log", MON_CAP_W));
   }
   if (profile == "mgr") {