Commits

Anonymous committed b2b7855

Remove 'platform' property.

Comments (0)

Files changed (1)

 issue = IssueClass(db, "issue",
                    type=Link('issue_type'),
                    components=Multilink('component'),
-                   platforms=Multilink('platform'),
                    versions=Multilink('version'),
                    severity=Link('severity'),
                    priority=Link('priority'),
 ##########################
 # User permissions
 ##########################
-for cl in ('issue_type', 'severity', 'component', 'platform',
+for cl in ('issue_type', 'severity', 'component',
            'version', 'priority', 'status', 'resolution', 'issue', 'file', 'msg'):
     db.security.addPermissionToRole('User', 'View', cl)
 
 
 p = db.security.addPermission(name='Create', klass='issue',
                               properties=('title', 'type',
-                                          'components', 'platforms', 'versions',
+                                          'components', 'versions',
                                           'severity',
                                           'messages', 'files', 'nosy'),
                               description='User can report and discuss issues')
 
 p = db.security.addPermission(name='Edit', klass='issue',
                               properties=('type',
-                                          'components', 'platforms', 'versions',
+                                          'components', 'versions',
                                           'severity',
                                           'messages', 'files', 'nosy'),
                               description='User can report and discuss issues')
 ##########################
 # Developer permissions
 ##########################
-for cl in ('issue_type', 'severity', 'component', 'platform',
+for cl in ('issue_type', 'severity', 'component',
            'version', 'priority', 'status', 'resolution', 'issue', 'file', 'msg'):
     db.security.addPermissionToRole('Developer', 'View', cl)
 
 ##########################
 # Coordinator permissions
 ##########################
-for cl in ('issue_type', 'severity', 'component', 'platform',
+for cl in ('issue_type', 'severity', 'component',
            'version', 'priority', 'status', 'resolution', 'issue', 'file', 'msg'):
     db.security.addPermissionToRole('Coordinator', 'View', cl)
     db.security.addPermissionToRole('Coordinator', 'Edit', cl)