From: Ramana Raja Date: Wed, 10 Jul 2019 19:03:20 +0000 (+0530) Subject: mon/MonCap: allow 'profile mgr' to create/update/del auth IDs X-Git-Tag: v16.1.0~663^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d3aea5579778a73dc2418e7b137dc21717944c3e;p=ceph.git mon/MonCap: allow 'profile mgr' to create/update/del auth IDs Signed-off-by: Ramana Raja --- diff --git a/src/mon/MonCap.cc b/src/mon/MonCap.cc index f130f95bcc4c..2dceb5311386 100644 --- a/src/mon/MonCap.cc +++ b/src/mon/MonCap.cc @@ -201,7 +201,7 @@ void MonCapGrant::expand_profile(const EntityName& name) const 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("auth", MON_CAP_R | MON_CAP_W | MON_CAP_X)); profile_grants.push_back(MonCapGrant("config-key", MON_CAP_R | MON_CAP_W)); profile_grants.push_back(MonCapGrant("config", MON_CAP_R | MON_CAP_W)); // cephadm orchestrator provisions new daemon keys and updates caps