Made guest logins turned off by default; if people want it, it should be a concious choice.

This commit is contained in:
Griatch 2014-07-10 21:12:15 +02:00
parent 5725eae583
commit a707c3c404

View file

@ -369,12 +369,12 @@ MAX_NR_CHARACTERS = 1
# The access hiearchy, in climbing order. A higher permission in the # The access hiearchy, in climbing order. A higher permission in the
# hierarchy includes access of all levels below it. Used by the perm()/pperm() # hierarchy includes access of all levels below it. Used by the perm()/pperm()
# lock functions. # lock functions.
PERMISSION_HIERARCHY = ("Guests", PERMISSION_HIERARCHY = ["Guests", # note-only used if GUEST_ENABLED=True
"Players", "Players",
"PlayerHelpers", "PlayerHelpers",
"Builders", "Builders",
"Wizards", "Wizards",
"Immortals") "Immortals"]
# The default permission given to all new players # The default permission given to all new players
PERMISSION_PLAYER_DEFAULT = "Players" PERMISSION_PLAYER_DEFAULT = "Players"
@ -383,7 +383,7 @@ PERMISSION_PLAYER_DEFAULT = "Players"
###################################################################### ######################################################################
# This enables guest logins, by default via "connect guest" # This enables guest logins, by default via "connect guest"
GUEST_ENABLED = True GUEST_ENABLED = False
# Typeclass for guest player objects (linked to a character) # Typeclass for guest player objects (linked to a character)
BASE_GUEST_TYPECLASS = "src.players.player.Guest" BASE_GUEST_TYPECLASS = "src.players.player.Guest"
# The permission given to guests # The permission given to guests