Mercurial > p > roundup > code
diff roundup/templates/classic/dbinit.py @ 1002:1798d2fa9fec
Hack hack...
. Lots of cleanup in the classic html (stylesheet, search page, index page, ...)
. Reinstated searching, but not query saving yet
. Filtering only allows sorting and grouping by one property - all backends
now implement this behaviour.
. Nosy list journalling turned off by default, everything else is on.
. Added some convenience methods (reverse, propchanged, [item] accesses, ...)
. Did I mention the stylesheet is much cleaner now? :)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 01 Sep 2002 04:32:30 +0000 |
| parents | e02093543d59 |
| children | fec6af48558b |
line wrap: on
line diff
--- a/roundup/templates/classic/dbinit.py Sat Aug 31 22:09:26 2002 +0000 +++ b/roundup/templates/classic/dbinit.py Sun Sep 01 04:32:30 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.23 2002-08-30 08:30:45 richard Exp $ +# $Id: dbinit.py,v 1.24 2002-09-01 04:32:30 richard Exp $ import os @@ -111,6 +111,11 @@ p = db.security.getPermission('Email Access') db.security.addPermissionToRole('User', p) + # May users view other user information? Comment these lines out + # if you don't want them to + p = db.security.getPermission('View', 'user') + db.security.addPermissionToRole('User', p) + # Assign the appropriate permissions to the anonymous user's Anonymous # Role. Choices here are: # - Allow anonymous users to register through the web @@ -185,6 +190,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.23 2002/08/30 08:30:45 richard +# allow perms on user class +# # 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).
