Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.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 | b01eca163779 |
| children | d68a444fcce3 |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Tue Jul 27 11:36:01 2004 +0000 +++ b/roundup/backends/rdbms_common.py Wed Jul 28 02:29:46 2004 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.126 2004-07-27 04:28:39 richard Exp $ +# $Id: rdbms_common.py,v 1.127 2004-07-28 02:29:45 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -607,6 +607,8 @@ self.classes[cn] = cl # add default Edit and View permissions + self.security.addPermission(name="Create", klass=cn, + description="User is allowed to create "+cn) self.security.addPermission(name="Edit", klass=cn, description="User is allowed to edit "+cn) self.security.addPermission(name="View", klass=cn,
