fix(backend): move RLS initialization before app_admin role assignment

Reorganize SeedDataService to establish RLS policies before granting
app_admin role to prevent permission issues. Remove --no-restore flag
from Dockerfile.dev to ensure proper build.

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
WorkClub Automation
2026-03-05 19:22:29 +01:00
parent 3b7db39cc2
commit 65e80ee334
2 changed files with 66 additions and 1 deletions

View File

@@ -28,4 +28,4 @@ COPY . .
EXPOSE 8080
# Hot reload: dotnet watch monitors file changes in mounted volumes
ENTRYPOINT ["dotnet", "watch", "run", "--project", "WorkClub.Api/WorkClub.Api.csproj", "--no-restore"]
ENTRYPOINT ["dotnet", "watch", "run", "--project", "WorkClub.Api/WorkClub.Api.csproj"]