Operator guideEN

Countries / Games Relation

Country-specific blocked games relation page used to add or remove games from one country's restricted game list.

How to use this guide

Start with the main guide

Follow the explanation and examples first. Extra definitions and formulas are available below when you need them.

What this surface does

This relation surface manages game restrictions for one selected country.

Operators use it to move games between the selected country's blocked list and available list.

How Operators Use It

  • review games currently blocked for the selected country
  • review games still available for the selected country
  • add an available game to the blocked list
  • remove a blocked game from the selected country
  • page each list independently

How To Read It

  • The page title identifies this as the blocked games workspace.
  • The left list is the current restricted list for the selected country.
  • The right list is the available list for the same country.
  • Each row is reduced to an internal game ID and game name.
  • The Add and Remove icons change restriction mapping, not the game record itself.

Important Caveats

  • The shared list components are reused from provider restrictions and can use provider wording in headings/tooltips. On this page, the rows and backend payload are games.
  • Add and Remove update local FE state immediately, then send the backend mutation. If the request fails, reload the page or reopen the relation page before trusting the visible list.
  • The page does not expose search inside either list. Use pagination to move through the current backend result set.
  • This relation uses the older numeric country-ID route family.
More details

Definitions and formulas

Open only the section you need. The relevant section opens automatically when you request help for a specific item on screen.

Calculations6 topicsOpen details

Restricted games list

Logic
The selected country ID and relation type `games` scope the restricted list., Backend reads the selected country's restricted games array., Backend returns matching game rows ordered by creation time descending., Only game ID, name, thumbnail URL, operator status, active state, and provider ID are selected for this relation list.

Available games list

Logic
The selected country ID and relation type `games` scope the available list., Backend excludes game IDs already present in the selected country's restricted games array., Backend returns matching game rows ordered by creation time descending.

Add restricted game

Logic
FE first moves the selected row from the available list to the restricted list locally., Backend appends submitted game IDs to the selected country's restricted games array., Backend de-duplicates the restricted games array before saving., The mutation does not edit the game record.

Remove restricted game

Logic
FE first moves the selected row from the restricted list to the available list locally., Backend removes submitted game IDs from the selected country's restricted games array., The mutation does not edit the game record.

Optimistic local state caveat

Logic
Add and Remove update FE list state before backend success is known., The FE hooks record request errors but do not refetch the lists automatically after these mutations in the verified code path., Reload the relation page when backend confirmation matters.

Independent list pagination

Logic
Restricted games and available games keep separate page numbers and page sizes., Changing one table's pagination does not change the other table's page state., Both tables use backend total counts.
Fields9 topicsOpen details

Country ID

Numeric country identifier from the route. It scopes both game lists and every add/remove mutation.

Data Type
integer

Restricted Games

Games currently blocked for the selected country.

Data Type
relation-list
Caveats
The shared component can display provider wording, but this page passes and stores game rows.

Available Games

Games not currently blocked for the selected country.

Data Type
relation-list
Caveats
The list excludes game IDs already present in the selected country's restricted games array.

ID

Internal game identifier shown in both lists and sent when adding or removing a blocked game.

Data Type
integer

Name

Human-readable game name used to confirm the selected row.

Data Type
string

Add

Moves an available game into the selected country's blocked games list.

Data Type
action

Remove

Removes a game from the selected country's blocked games list.

Data Type
action

Restricted Games Pagination

Controls which page of currently blocked games is loaded.

Data Type
pagination

Available Games Pagination

Controls which page of available games is loaded.

Data Type
pagination
More help

Related pages

Affiliate Payment Settings / Sending Window

Sending-window configuration tab for affiliate payment settings.

Casino / Games

Operator documentation for the casino game catalog, game edit flow, reorder tooling, global gambling controls, and optimization maintenance surfaces.

Casino / Games / Disabling

Dedicated maintenance surface for global gambling enable or disable controls.

Casino / Games / Form

Record-level maintenance form for casino game metadata, images, restrictions, and play flags.

Casino / Games / List

Primary casino game catalog grid with stats cards, filters, CSV export, row maintenance actions, and page-level import, ranking, AI, and image maintenance entrypoints.

Casino / Games / Optimize

Dedicated optimization and maintenance workflow for casino game rows.