待辦事項 #45042

Disallow changing ruleset when fixed one given from commandline

啟用日期: 2022-07-07 06:00 最後更新: 2022-07-21 20:17

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
2

細節

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
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from to Accepted
2022-07-16 08:02 Updated by: cazfi
  • 處理結果 Update from Accepted to
評語

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
  • 處理結果 Update from to Accepted
評語

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
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入