diff roundup/templates/classic/dbinit.py @ 988:e02093543d59

allow perms on user class
author Richard Jones <richard@users.sourceforge.net>
date Fri, 30 Aug 2002 08:30:45 +0000
parents 23c9d4f86380
children 1798d2fa9fec
line wrap: on
line diff
--- a/roundup/templates/classic/dbinit.py	Fri Aug 30 08:30:12 2002 +0000
+++ b/roundup/templates/classic/dbinit.py	Fri Aug 30 08:30:45 2002 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: dbinit.py,v 1.22 2002-08-01 00:56:22 richard Exp $
+# $Id: dbinit.py,v 1.23 2002-08-30 08:30:45 richard Exp $
 
 import os
 
@@ -92,7 +92,7 @@
     # SECURITY SETTINGS
     #
     # new permissions for this schema
-    for cl in 'issue', 'file', 'msg':
+    for cl in 'issue', 'file', 'msg', 'user':
         db.security.addPermission(name="Edit", klass=cl,
             description="User is allowed to edit "+cl)
         db.security.addPermission(name="View", klass=cl,
@@ -185,6 +185,12 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.22  2002/08/01 00:56:22  richard
+# Added the web access and email access permissions, so people can restrict
+# access to users who register through the email interface (for example).
+# Also added "security" command to the roundup-admin interface to display the
+# Role/Permission config for an instance.
+#
 # Revision 1.21  2002/07/26 08:26:59  richard
 # Very close now. The cgi and mailgw now use the new security API. The two
 # templates have been migrated to that setup. Lots of unit tests. Still some

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