Skip to content

Commit 2355bdd

Browse files
author
Richard Jones
committed
permission fix for anonymous
1 parent c8e5259 commit 2355bdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/classic/dbinit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: dbinit.py,v 1.5 2004-03-15 05:50:20 richard Exp $
18+
# $Id: dbinit.py,v 1.6 2004-03-15 05:51:23 richard Exp $
1919

2020
import os
2121

@@ -130,7 +130,7 @@ def open(name=None):
130130
db.security.addPermissionToRole('Anonymous', p)
131131
# - Allow anonymous users access to view issues (which implies being
132132
# able to view all linked information too
133-
for cl in 'issue', 'file', 'msg', 'keyword':
133+
for cl in 'issue', 'file', 'msg', 'keyword', 'priority', 'status':
134134
p = db.security.getPermission('View', cl)
135135
db.security.addPermissionToRole('Anonymous', p)
136136
# - Allow anonymous users access to edit the "issue" class of data

0 commit comments

Comments
 (0)