mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
mgr: fix "access denied" message
As pointed out on https://github.com/ceph/ceph/pull/18716 Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
parent
d45db4e68c
commit
3283ed5883
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user