feat(backend): audit event for pool file reordering
deploy / deploy (push) Successful in 59s

Reorder was the only pool-file operation that didn't record an audit
entry, unlike AddFiles (file_pool_add) and RemoveFiles
(file_pool_remove). Log file_pool_reorder on success and seed the new
action type.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-16 14:04:41 +03:00
parent 47d9cae15b
commit 432b2d5b1e
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ INSERT INTO activity.action_types (name) VALUES
('pool_create'), ('pool_edit'), ('pool_delete'),
-- Relations
('file_tag_add'), ('file_tag_remove'),
('file_pool_add'), ('file_pool_remove'),
('file_pool_add'), ('file_pool_remove'), ('file_pool_reorder'),
-- ACL
('acl_change'),
-- Admin