diff --git a/internal/domain/taskactions/service.go b/internal/domain/taskactions/service.go index 4f1adf0ff..d6c6ca3e4 100644 --- a/internal/domain/taskactions/service.go +++ b/internal/domain/taskactions/service.go @@ -135,10 +135,12 @@ func (a Actor) describe(verb string) string { if a.Kind != "" { text += " (" + string(a.Kind) + ")" } + // A person acting for themselves has no principal; only delegated actions + // say whose authority they used. if a.Principal != "" { - return text + ", authorised by " + string(a.Principal) + return text + " on behalf of " + string(a.Principal) } - return text + ", no authorising principal" + return text } // approvedKind and rejectedKind name what happened and who did it. There is no