Ticket #45042

Disallow changing ruleset when fixed one given from commandline

Date d'ouverture: 2022-07-07 06:00 Dernière mise à jour: 2022-07-21 20:17

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Jalon:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
2

Détails

If freeciv-server has been launched with specific ruleset given at commandline, it makes sense not to allow (regular) users within the server to change that.

As current behavior is not strictly a bug, and some users may rely on it, targeting this to master only, as a behavior change.

Ticket History (3/7 Histories)

2022-07-07 06:00 Updated by: cazfi
  • New Ticket "Disallow changing ruleset when fixed one given from commandline" created
2022-07-07 06:53 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
2022-07-16 08:02 Updated by: cazfi
  • Résolution Update from Accepted to Aucun
Commentaire

Current patch causes trouble in case the client inadvertently has such a tileset active that it triggers initial server setup with wrong ruleset.

2022-07-17 17:05 Updated by: cazfi
  • Résolution Update from Aucun to Accepted
Commentaire

The new version brings the restriction only to is_restricted() connections - so the client that forked the server can still change the ruleset.

2022-07-21 20:17 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion