Commits

Ezio Melotti committed 5872f58

#120: allow developers to mark messages and files as ham/spam.

Comments (0)

Files changed (1)

     p = db.security.addPermission(name='View', klass=cl,
                                   description="Allowed to see content of object regardless of spam status",
                                   properties = ('content', 'summary'))
-    
-    db.security.addPermissionToRole('User', p)        
-    
+
+    db.security.addPermissionToRole('User', p)
+
     spamcheck = db.security.addPermission(name='View', klass=cl,
                                           description="allowed to see content if not spam",
                                           properties=('content', 'summary'),
 # Coordinator permissions
 ##########################
 for cl in ('issue_type', 'severity', 'component',
-           'version', 'priority', 'stage', 'status', 'resolution', 'issue', 
+           'version', 'priority', 'stage', 'status', 'resolution', 'issue',
            'file', 'msg', 'hgrepo'):
     db.security.addPermissionToRole('Coordinator', 'View', cl)
     db.security.addPermissionToRole('Coordinator', 'Edit', cl)
     db.security.addPermissionToRole('Coordinator', p)
 
 db.security.addPermissionToRole('Coordinator', 'SB: May Classify')
+db.security.addPermissionToRole('Developer', 'SB: May Classify')
 
 # May users view other user information? Comment these lines out
 # if you don't want them to
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.