From 9c2dcea27f65125b16d02239d0f418842f2e45d1 Mon Sep 17 00:00:00 2001 From: stefan Date: Thu, 4 Nov 2010 21:27:25 +0000 Subject: [PATCH] Don't allow users to create tasks and milestones. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4566 57a73879-2fb5-44c3-a270-3262357dd7e2 --- share/roundup/templates/devel/schema.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/roundup/templates/devel/schema.py b/share/roundup/templates/devel/schema.py index 44b4b5a..89840b7 100644 --- a/share/roundup/templates/devel/schema.py +++ b/share/roundup/templates/devel/schema.py @@ -215,6 +215,10 @@ for cl in ('severity', 'component', 'keyword', 'file', 'msg'): db.security.addPermissionToRole('User', 'View', cl) db.security.addPermissionToRole('Anonymous', 'View', cl) + +for cl in ('severity', 'component', + 'version', 'priority', 'status', 'resolution', + 'bug_type', 'bug', 'file', 'msg'): db.security.addPermissionToRole('User', 'Create', cl) -- 2.30.2