Changeset 96 for waeup_product/trunk/Extensions
- Timestamp:
- 27 Oct 2005, 06:51:08 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r89 r96 72 72 if CPSSubscriptions: ###( 73 73 ptypes = "('Portal', 'CPSMailAccess Message', 'CPSMailAccess Box', 'CPSMailAccess Folder',"\ 74 + "'University', 'StudentsFolder', 'Student', 'Jamb' )"74 + "'University', 'StudentsFolder', 'Student', 'Jamb', 'Faculty', 'Department','Course')" 75 75 condition = "object.portal_type not in %s" % ptypes 76 76 … … 85 85 self.verifyAction('portal_subscriptions', **action) 86 86 if CPSForum: 87 ptypes = "('University', 'StudentsFolder', 'Student', 'Jamb')"87 ptypes = "('University','StudentsFolder','Student', 'Jamb','Faculty', 'Department','Course')" 88 88 condition = "object.portal_type not in %s" % ptypes 89 89 … … 314 314 dirtool = getattr(self,'portal_directories') 315 315 groups = dirtool.groups 316 for newEntry in ('Students','StudentManager'): 316 for delEntry in ('StudentManager',): 317 if delEntry in groups.listEntryIds(): 318 groups.deleteEntry(delEntry) 319 for newEntry in ('Students',): 317 320 if newEntry not in groups.listEntryIds(): 318 321 groups.createEntry({'group': newEntry, 319 322 'members': []}) 320 groups.manage_setLocalGroupRoles(groupid = 'StudentManager',roles=('Manager',))323 #groups.manage_setLocalGroupRoles(groupid = 'StudentManager',roles=('Manager',)) 321 324 #groups.manage_setLocalGroupRoles(groupid = 'Students',roles=('Contributor',)) 322 325 sections = getattr(self,'sections')
Note: See TracChangeset for help on using the changeset viewer.