Fix typos in comments for minimization logic and user roles
All checks were successful
Build and Publish Docker Images / build-and-push (., backend/infrastructure/gateway/Dockerfile, api-gateway, api-gateway) (push) Successful in 10m6s
Build and Publish Docker Images / build-and-push (., backend/services/ping/Dockerfile, ping-service, ping-service) (push) Successful in 9m20s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 3m27s
Build and Publish Docker Images / build-and-push (., config/docker/keycloak/Dockerfile, keycloak, keycloak) (push) Successful in 2m6s

This commit is contained in:
Stefan Mogeritsch 2026-03-04 22:14:51 +01:00
parent 178aa97133
commit 2901685501
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ class ShellCurrentUserProvider(
override fun getCurrentUser(): User? {
val state = authTokenManager.authState.value
if (!state.isAuthenticated) return null
// Roles are not yet modeled in AuthState; provide empty list for now
// Roles are not yet modeled in AuthState; provide an empty list for now
return User(
id = state.userId ?: state.username ?: "unknown",
username = state.username ?: state.userId ?: "unknown",

View File

@ -4,9 +4,9 @@
// WHY THIS FILE EXISTS:
// Kotlin/JS loads webpack.config.d files in alphabetical order.
// This file is prefixed with "z_" to ensure it runs LAST —
// AFTER Kotlin/JS and all other plugins have had their chance
// AFTER Kotlin/ JS, and all other plugins have had their chance
// to set config.optimization. This guarantees that no Terser
// or other minimizer plugin can re-enable itself after this point.
// or another minimizer plugin can re-enable itself after this point.
//
// ROOT CAUSE:
// sqlite3-worker1.mjs contains a top-level `return` statement