From 60dc89721c4335224257e1f5507761c939cbed38 Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 30 Aug 2002 08:30:45 +0000 Subject: [PATCH] allow perms on user class git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1005 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/templates/classic/dbinit.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/roundup/templates/classic/dbinit.py b/roundup/templates/classic/dbinit.py index 71ff79a..29242df 100644 --- a/roundup/templates/classic/dbinit.py +++ b/roundup/templates/classic/dbinit.py @@ -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 @@ def open(name=None): # 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 @@ def init(adminpw): # # $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 -- 2.30.2