Code

Don't allow users to create tasks and milestones.
authorstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 4 Nov 2010 21:27:25 +0000 (21:27 +0000)
committerstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 4 Nov 2010 21:27:25 +0000 (21:27 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4566 57a73879-2fb5-44c3-a270-3262357dd7e2

share/roundup/templates/devel/schema.py

index 44b4b5ac8b5a0f2b60d34e2068829638e971bd34..89840b75bbe9ae26e145ccfc6c0ab81aeaaf0db5 100644 (file)
@@ -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)