comparison roundup/configuration.py @ 2649:1df7d4a41da4

Buncha stuff (sorry about the large checkin): - Permissions may now be defined on a per-property basis - added "Create" Permission. Replaces the "Web"- and "Email Registration" Permissions. - added option to turn off registration confirmation via email ("instant_registration" in config) Migrated the user edit/view permission to use check code. Fixed a buncha stuff in the default templates. Needs a thorough review though.
author Richard Jones <richard@users.sourceforge.net>
date Wed, 28 Jul 2004 02:29:46 +0000
parents fd7b2fc1eb28
children eccb8e15a83f
comparison
equal deleted inserted replaced
2648:fe71e108d998 2649:1df7d4a41da4
1 # Roundup Issue Tracker configuration support 1 # Roundup Issue Tracker configuration support
2 # 2 #
3 # $Id: configuration.py,v 1.14 2004-07-27 11:26:20 a1s Exp $ 3 # $Id: configuration.py,v 1.15 2004-07-28 02:29:45 richard Exp $
4 # 4 #
5 __docformat__ = "restructuredtext" 5 __docformat__ = "restructuredtext"
6 6
7 import imp 7 import imp
8 import os 8 import os
434 # in the past. Use float number for sure. 434 # in the past. Use float number for sure.
435 (FloatNumberOption, "timezone", "0", 435 (FloatNumberOption, "timezone", "0",
436 "Numeric timezone offset used when users do not choose their own\n" 436 "Numeric timezone offset used when users do not choose their own\n"
437 "in their settings.", 437 "in their settings.",
438 ["DEFAULT_TIMEZONE"]), 438 ["DEFAULT_TIMEZONE"]),
439 (BooleanOption, "instant_registration", "no",
440 "Register new users instantly, or require confirmation via\n"
441 "email?"),
439 )), 442 )),
440 ("tracker", ( 443 ("tracker", (
441 (Option, "name", "Roundup issue tracker", 444 (Option, "name", "Roundup issue tracker",
442 "A descriptive name for your roundup instance."), 445 "A descriptive name for your roundup instance."),
443 (Option, "web", NODEFAULT, 446 (Option, "web", NODEFAULT,

Roundup Issue Tracker: http://roundup-tracker.org/