Hostityourself/server/src
Claude 872efc74ce
fix: non-admin users with app grants can now push via HTTP
The user_apps check was silently failing because sqlx::query_scalar
without an explicit type annotation would hit a runtime decoding error,
which .unwrap_or(None) swallowed — always returning None → 403.

All three DB calls in check_push_access now use match + tracing::error!
so failures are visible in logs instead of looking like a missing grant.

https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH
2026-03-24 10:41:26 +00:00
..
routes fix: non-admin users with app grants can now push via HTTP 2026-03-24 10:41:26 +00:00
auth.rs fix: break infinite redirect for non-admin users on admin UI 2026-03-23 08:24:41 +00:00
builder.rs feat: git push deploy (roadmap step 2) 2026-03-23 08:54:55 +00:00
db.rs feat: make repo URL optional when creating an app 2026-03-24 10:37:17 +00:00
main.rs feat: HTTP git push with API key auth 2026-03-23 12:59:02 +00:00
models.rs feat: make repo URL optional when creating an app 2026-03-24 10:37:17 +00:00