What this page shows
This page lists predefined bet-limit rules at /bet-limits.
The list is split into two sections:
Category Rules: rules tied to a casino game subcategory.Global Limit Rules: fallback rules where no category is assigned.
The page also shows a small summary above the tables: total loaded rules and how many of those loaded rules are active.
How bet-limit resolution works
The page explains the resolution model operators should use when reviewing rules:
- A matching category rule is checked first.
- If multiple category rules match, the highest numeric
Prioritywins. - If no category rule matches, the same tag and priority logic is applied to
Global Limit Rules. - If no global rule matches, the casino default from Settings is used outside this page.
Rules marked MWL Inactive are only for players whose Monthly Winning Limit is inactive or declined.
Filters
The filter row affects both tables except for the category dropdown:
All categories: filters only the Category Rules request by selected game subcategory.All statuses: sends active-only filtering to both Category and Global requests.All Types: sends MWL type filtering to both Category and Global requests.
Changing a filter resets the affected request back to page 1 with the default row limit.
Table columns
Both tables show the same operational columns:
ID: saved bet-limit rule ID.Description: operator description, orNo descriptionwhen empty.Category: category name for Category Rules;Global Limitfor global rules.Limit (EUR): amount range in EUR, formatted to two decimals by the page.Tags: include tags in green and exclude tags in red;All playerswhen no include tags are present.Priority: highest numeric priority wins when multiple rules match.Flags: showsMWL Inactivewhen the rule is gated to MWL-inactive players.Status:ActiveorDisabled; clicking the pill toggles the saved status.Actions: edit and delete controls.
Important actions
Create
Create opens the create form. No rule is created until the form is submitted.
Edit
The edit icon opens the saved rule detail page.
Status toggle
Clicking a status pill immediately sends a status-toggle request. There is no confirmation dialog.
When a rule is disabled, the save flow also removes assigned player links for that rule.
Delete
The delete icon opens a confirmation dialog. Confirming delete soft-deletes the rule by setting it inactive and setting a delete timestamp.
Delete also removes assigned player links for that rule. Deleted rules are excluded from normal list reads.
Edit as JSON
Edit as JSON opens a bulk editor containing the currently loaded Category and Global rows.
This is a high-impact maintenance tool:
- invalid JSON cannot be applied;
- JSON must be an array;
- existing rows are updated by
idorlimitId; - rows without an ID can create new rules;
- inactive updated rows can remove assigned player links;
- the page reloads both Category and Global lists after a successful bulk update.