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: v14.2.17~53^2~19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=913be51c4893a20c62fdd3c4cdf3cb44d3800a7a;p=ceph.git mon/MonCap: allow 'profile mgr' to create/update/del auth IDs Signed-off-by: Ramana Raja (cherry picked from commit d3aea5579778a73dc2418e7b137dc21717944c3e) --- diff --git a/src/mon/MonCap.cc b/src/mon/MonCap.cc index b262929aeb5f..87f11c3deac2 100644 --- a/src/mon/MonCap.cc +++ b/src/mon/MonCap.cc @@ -192,7 +192,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)); }