Cockatrice/libcockatrice_network/libcockatrice
Lukas Brübach 7195401765 [Server] Serve account moderation through the database interface
The moderator account commands still reached Servatrice_DatabaseInterface through
its concrete class: cmdResetUserPassword ran the privilege lookup inline and
called the concrete-only changeUserPasswordWithLegacyBackup, while the avatar,
banner and blacklisted-banner commands called concrete-only helpers. Promote
those four methods to Server_DatabaseInterface, move RemoveUserBannerResult into
the interface, and add getUserAdminFlags for the reset privilege lookup. The
escalation guard, audit records, had_banner response field and every response
code stay in the handler.
2026-11-10 01:39:25 +01:00
..
network [Server] Serve account moderation through the database interface 2026-11-10 01:39:25 +01:00