Skip to content

Make limit system consistent across the app#5

Merged
schliz merged 2 commits into
masterfrom
fix/limit-consistency
Mar 16, 2026
Merged

Make limit system consistent across the app#5
schliz merged 2 commits into
masterfrom
fix/limit-consistency

Conversation

@schliz
Copy link
Copy Markdown
Owner

@schliz schliz commented Mar 16, 2026

Resolves #3

schliz and others added 2 commits March 16, 2026 07:52
…k users from stats

Add hard spending limit check with row-level locking to CreateCustomTransaction
handler, preventing orders when balance is at or below the limit. Fix kiosk
spending limit to check current balance instead of projected balance for
consistency. Exclude kiosk users from rank calculations, balance sums, and
active user listings. Update use cases to reflect completed spending limit
and kiosk spending limit features.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add Playwright tests covering spending limit enforcement (blocked menu, exempt
user, low balance warning), kiosk spending limits (blocked user, warning on
confirm), kiosk user exclusion (redirect, no stats, not in target list, not in
rank total), and admin kiosk user display. Set up kiosk Keycloak user/role, auth
setup, Playwright config project, and fix docker-compose networking for tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@schliz schliz moved this from Backlog to In review in schliz/deckel Mar 16, 2026
@schliz
Copy link
Copy Markdown
Owner Author

schliz commented Mar 16, 2026

Resolves #4

@schliz schliz merged commit 93642cc into master Mar 16, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in schliz/deckel Mar 16, 2026
@schliz schliz deleted the fix/limit-consistency branch March 16, 2026 13:38
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions Bot added the released This pull request is included in a release. label Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released This pull request is included in a release.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Make limit system consistent across the app

1 participant