diff roundup/templates/classic/dbinit.py @ 1105:62485452f514

anonymous may view by default
author Richard Jones <richard@users.sourceforge.net>
date Wed, 11 Sep 2002 01:18:24 +0000
parents 04a6b3bfbf23
children a95428868bf4
line wrap: on
line diff
--- a/roundup/templates/classic/dbinit.py	Tue Sep 10 23:05:00 2002 +0000
+++ b/roundup/templates/classic/dbinit.py	Wed Sep 11 01:18:24 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.26 2002-09-09 23:55:19 richard Exp $
+# $Id: dbinit.py,v 1.27 2002-09-11 01:18:24 richard Exp $
 
 import os
 
@@ -128,8 +128,8 @@
     # - Allow anonymous users access to the "issue" class of data
     #   Note: this also grants access to related information like files,
     #         messages, statuses etc that are linked to issues
-    #p = db.security.getPermission('View', 'issue')
-    #db.security.addPermissionToRole('Anonymous', p)
+    p = db.security.getPermission('View', 'issue')
+    db.security.addPermissionToRole('Anonymous', p)
     # - Allow anonymous users access to edit the "issue" class of data
     #   Note: this also grants access to create related information like
     #         files and messages etc that are linked to issues

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