Mercurial > p > roundup > code
diff roundup/backends/back_metakit.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 | a9e1fff1e793 |
| children | d68a444fcce3 |
line wrap: on
line diff
--- a/roundup/backends/back_metakit.py Tue Jul 27 11:36:01 2004 +0000 +++ b/roundup/backends/back_metakit.py Wed Jul 28 02:29:46 2004 +0000 @@ -1,4 +1,4 @@ -# $Id: back_metakit.py,v 1.82 2004-07-27 00:57:18 richard Exp $ +# $Id: back_metakit.py,v 1.83 2004-07-28 02:29:45 richard Exp $ '''Metakit backend for Roundup, originally by Gordon McMillan. Known Current Bugs: @@ -186,6 +186,8 @@ self.tables.append(name=cl.classname) # 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=cl.classname, description="User is allowed to edit "+cl.classname) self.security.addPermission(name="View", klass=cl.classname,
