Changeset 1432
- Timestamp:
- 17 Feb 2007, 23:13:14 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/exportimport.py
r1414 r1432 80 80 accommodation = getattr(campus,'accommodation',None) 81 81 campus.manage_setLocalGroupRoles(groupid='CampusOfficers', 82 roles=('SectionOfficer',)) 82 roles=('SectionOfficer',)) 83 83 if academics is not None: 84 84 academics.manage_setLocalGroupRoles(groupid='role:Authenticated', 85 85 roles=('SectionReader',)) 86 86 academics.manage_setLocalGroupRoles(groupid='AcademicsOfficers', 87 roles=('SectionOfficer',)) 87 roles=('SectionOfficer',)) 88 88 if students is not None: 89 89 students.manage_setLocalGroupRoles(groupid = 'ClearanceOfficers', … … 92 92 roles=('SectionOfficer',)) 93 93 students.manage_setLocalGroupRoles(groupid='StudentsOfficers', 94 roles=('SectionOfficer',)) 94 roles=('SectionOfficer',)) 95 95 students.manage_setLocalGroupRoles(groupid = 'role:Student', 96 96 roles=('SectionReader',)) … … 99 99 roles=('SectionReader',)) 100 100 accommodation.manage_setLocalGroupRoles(groupid='AccommodationOfficers', 101 roles=('SectionOfficer',)) 101 roles=('SectionOfficer',)) 102 102 members = getattr(site.portal_directories,'members') 103 103 if members is not None: 104 104 members.manage_setLocalGroupRoles(groupid='MemberAdmins', 105 105 roles=('SectionOfficer',)) 106 students = getattr(site.portal_directories,'students') 107 if students is not None: 108 students.manage_setLocalGroupRoles(groupid='MemberAdmins', 109 roles=('SectionOfficer',)) 106 110 107 111 ## pm.setLocalGroupRoles(campus.academics,['role:Authenticated', -
WAeUP_SRP/trunk/profiles/default/directories/students.xml
r952 r1432 6 6 <property name="layout">members</property> 7 7 <property name="layout_search">members_search</property> 8 <property name="acl_directory_view_roles"> Manager; Member</property>9 <property name="acl_entry_create_roles"> Manager</property>10 <property name="acl_entry_delete_roles"> Manager</property>8 <property name="acl_directory_view_roles">SectionOfficer; Manager; Member</property> 9 <property name="acl_entry_create_roles">SectionOfficer; Manager</property> 10 <property name="acl_entry_delete_roles">SectionOfficer; Manager</property> 11 11 <!-- switch back to Owner instead of Member once searchEntries will be 12 12 able to check ACLs --> 13 <property name="acl_entry_view_roles"> Manager; Member</property>14 <property name="acl_entry_edit_roles"> Manager; Owner</property>13 <property name="acl_entry_view_roles">SectionOfficer; Manager; Member</property> 14 <property name="acl_entry_edit_roles">SectionOfficer; Manager; Owner</property> 15 15 <property name="id_field">id</property> 16 16 <property name="search_substring_fields"> -
WAeUP_SRP/trunk/profiles/default/directories/waeup_stacking_dir.xml
r933 r1432 10 10 <property name="layout">members</property> 11 11 <property name="layout_search">members_search</property> 12 <property name="acl_directory_view_roles"> Manager</property>13 <property name="acl_entry_create_roles"> Manager</property>14 <property name="acl_entry_delete_roles"> Manager</property>15 <property name="acl_entry_view_roles"> Manager</property>16 <property name="acl_entry_edit_roles"> Manager</property>12 <property name="acl_directory_view_roles">SectionOfficer; Manager</property> 13 <property name="acl_entry_create_roles">SectionOfficer; Manager</property> 14 <property name="acl_entry_delete_roles">SectionOfficer; Manager</property> 15 <property name="acl_entry_view_roles">SectionOfficer; Manager</property> 16 <property name="acl_entry_edit_roles">SectionOfficer; Manager</property> 17 17 <property name="id_field">id</property> 18 18 <property name="title_field">fullname</property> -
WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml
r1428 r1432 263 263 <guard-role>Manager</guard-role> 264 264 <guard-role>SectionManager</guard-role> 265 <guard-role>SectionOfficer</guard-role> 265 266 </guard> 266 267 <transition-behavior behavior_id="allow-sub-create"/>
Note: See TracChangeset for help on using the changeset viewer.