feat(approvals): add a People page, leave channel approvals unchanged, make a binding's target optional (#2072)

This commit is contained in:
sam committed 2026-11-21 21:37:42 +11:00
1 parent b9a60e03a3
commit 4b494bf75b
8 files changed
+214 -10

No files matched your search

-4
View File
@@ -377,10 +377,6 @@ func (m *Module) Settle(ctx context.Context, id uuid.UUID, identity, via string,
return false, err
}
who, err := m.verify(ctx, identity, row)
if err == nil && approved && row.Irreversible {
// A channel message can't carry a passkey assertion.
err = ErrNeedsFreshAuthentication
}
if refusal(err) {
m.log.WarnContext(ctx, "approval answer refused", "request", id, "identity", identity, "reason", err.Error())
return false, m.store.Refuse(ctx, store.Refusal{