commit 72e86b9d67844790a1eede1a0cd5e03b6d6d302b
parent 5d5606a77a6c9bd5f091aeee31578f287ca1fc7b
Author: Silas Brack <silasbrack@gmail.com>
Date: Sat, 25 Apr 2026 14:35:32 +0200
fix: use autofill_missing_user_id_column for vote user_id
TrailBase's autofill feature auto-populates user_id from the
authenticated user when the field is omitted from the request.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/traildepot/config.textproto b/traildepot/config.textproto
@@ -40,7 +40,7 @@ record_apis: [{
table_name: "vote"
acl_world: []
acl_authenticated: [READ, CREATE, DELETE]
- autofill_user_id_column: "user_id"
+ autofill_missing_user_id_column: "user_id"
delete_access_rule: "_ROW_.user_id = _USER_.id"
}, {
name: "user_profile"