Q33: document edits and content deletions leave attributed audit records
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cb464c3ee4
commit
66de4ef015
9 files changed
+147
-16
No files matched your search
@@ -140,7 +140,7 @@ export function DocumentsPanel({
|
||||
onClose={() => setConfirmDelete(false)}
|
||||
onSubmit={(event) => {
|
||||
event.preventDefault();
|
||||
void perform(() => actions.run(() => window.agentCompany.deleteDocument({ orgId, documentId: selected.id })), () => {
|
||||
void perform(() => actions.run(() => window.agentCompany.deleteDocument({ orgId, documentId: selected.id, deletedByEmployeeId: employeeId })), () => {
|
||||
setConfirmDelete(false);
|
||||
setSelectedId(null);
|
||||
});
|
||||
|
||||
@@ -202,7 +202,7 @@ export function KnowledgePanel({
|
||||
onClose={() => setDialog(null)}
|
||||
onSubmit={(event) => {
|
||||
event.preventDefault();
|
||||
perform(() => actions.run(() => window.agentCompany.deleteKnowledgeEntry({ orgId, entryId: selected.id })), () => {
|
||||
perform(() => actions.run(() => window.agentCompany.deleteKnowledgeEntry({ orgId, entryId: selected.id, deletedByEmployeeId: employeeId })), () => {
|
||||
setDialog(null);
|
||||
setSelectedId(null);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user