From: John Spray Date: Wed, 8 Aug 2018 17:31:40 +0000 (-0400) Subject: mon: give ceph-mgr access to 'fs' commands X-Git-Tag: v14.1.0~776^2~9 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=de42a7036e1d21abe931dd95acac8681085098fe;p=ceph-ci.git mon: give ceph-mgr access to 'fs' commands Signed-off-by: John Spray --- diff --git a/src/mon/MonCap.cc b/src/mon/MonCap.cc index c8f24ffd929..c1d7c712300 100644 --- a/src/mon/MonCap.cc +++ b/src/mon/MonCap.cc @@ -205,6 +205,7 @@ void MonCapGrant::expand_profile_mon(const EntityName& name) const profile_grants.push_back(MonCapGrant("log", MON_CAP_R | MON_CAP_W)); profile_grants.push_back(MonCapGrant("mon", MON_CAP_R | MON_CAP_W)); profile_grants.push_back(MonCapGrant("mds", MON_CAP_R | MON_CAP_W)); + profile_grants.push_back(MonCapGrant("fs", MON_CAP_R | MON_CAP_W)); profile_grants.push_back(MonCapGrant("osd", MON_CAP_R | MON_CAP_W)); profile_grants.push_back(MonCapGrant("auth", MON_CAP_R | MON_CAP_X)); profile_grants.push_back(MonCapGrant("config-key", MON_CAP_R | MON_CAP_W));