From: John Spray Date: Thu, 14 Dec 2017 11:41:02 +0000 (+0000) Subject: mgr: fix "access denied" message X-Git-Tag: v13.0.2~757^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3283ed588393756af3309d0ab913f61445f125bc;p=ceph.git mgr: fix "access denied" message As pointed out on https://github.com/ceph/ceph/pull/18716 Signed-off-by: John Spray --- diff --git a/src/mgr/DaemonServer.cc b/src/mgr/DaemonServer.cc index d4c9416ddafcb..d0f4bfc467e6f 100644 --- a/src/mgr/DaemonServer.cc +++ b/src/mgr/DaemonServer.cc @@ -726,7 +726,7 @@ bool DaemonServer::handle_command(MCommand *m) audit_clog->info() << "from='" << session->inst << "' " << "entity='" << session->entity_name << "' " << "cmd=" << m->cmd << ": access denied"; - ss << "access denied' does your client key have mgr caps? " + ss << "access denied: does your client key have mgr caps? " "See http://docs.ceph.com/docs/master/mgr/administrator/" "#client-authentication"; cmdctx->reply(-EACCES, ss);