settings: add canJoinTeam parameter

This commit is contained in:
nemunaire 2019-02-04 18:14:46 +01:00
parent 921644deb4
commit 2b95995104
7 changed files with 159 additions and 36 deletions

View file

@ -51,6 +51,8 @@ type FICSettings struct {
// AllowRegistration permits unregistered Team to register themselves.
AllowRegistration bool `json:"allowRegistration"`
// CanJoinTeam permits unregistered account to join an already existing team.
CanJoinTeam bool `json:"canJoinTeam"`
// DenyNameChange disallow Team to change their name.
DenyNameChange bool `json:"denyNameChange"`
// EnableResolutionRoute activates the route displaying resolution movies.