Changeset 1432


Ignore:
Timestamp:
17 Feb 2007, 23:13:14 (18 years ago)
Author:
Henrik Bettermann
Message:

acl edit roles in directories changed

Location:
WAeUP_SRP/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/exportimport.py

    r1414 r1432  
    8080        accommodation = getattr(campus,'accommodation',None)
    8181        campus.manage_setLocalGroupRoles(groupid='CampusOfficers',
    82                                          roles=('SectionOfficer',))       
     82                                         roles=('SectionOfficer',))
    8383        if academics is not None:
    8484            academics.manage_setLocalGroupRoles(groupid='role:Authenticated',
    8585                                         roles=('SectionReader',))
    8686            academics.manage_setLocalGroupRoles(groupid='AcademicsOfficers',
    87                                          roles=('SectionOfficer',))                                         
     87                                         roles=('SectionOfficer',))
    8888        if students is not None:
    8989            students.manage_setLocalGroupRoles(groupid = 'ClearanceOfficers',
     
    9292                                         roles=('SectionOfficer',))
    9393            students.manage_setLocalGroupRoles(groupid='StudentsOfficers',
    94                                          roles=('SectionOfficer',))                                         
     94                                         roles=('SectionOfficer',))
    9595            students.manage_setLocalGroupRoles(groupid = 'role:Student',
    9696                                              roles=('SectionReader',))
     
    9999                                         roles=('SectionReader',))
    100100            accommodation.manage_setLocalGroupRoles(groupid='AccommodationOfficers',
    101                                          roles=('SectionOfficer',))                                         
     101                                         roles=('SectionOfficer',))
    102102    members = getattr(site.portal_directories,'members')
    103103    if members is not None:
    104104        members.manage_setLocalGroupRoles(groupid='MemberAdmins',
    105105                                         roles=('SectionOfficer',))
     106    students = getattr(site.portal_directories,'students')
     107    if students is not None:
     108        students.manage_setLocalGroupRoles(groupid='MemberAdmins',
     109                                         roles=('SectionOfficer',))                                         
    106110
    107111##    pm.setLocalGroupRoles(campus.academics,['role:Authenticated',
  • WAeUP_SRP/trunk/profiles/default/directories/students.xml

    r952 r1432  
    66 <property name="layout">members</property>
    77 <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>
    1111 <!-- switch back to Owner instead of Member once searchEntries will be
    1212      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>
    1515 <property name="id_field">id</property>
    1616 <property name="search_substring_fields">
  • WAeUP_SRP/trunk/profiles/default/directories/waeup_stacking_dir.xml

    r933 r1432  
    1010 <property name="layout">members</property>
    1111 <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>
    1717 <property name="id_field">id</property>
    1818 <property name="title_field">fullname</property>
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml

    r1428 r1432  
    263263   <guard-role>Manager</guard-role>
    264264   <guard-role>SectionManager</guard-role>
     265   <guard-role>SectionOfficer</guard-role>
    265266  </guard>
    266267  <transition-behavior behavior_id="allow-sub-create"/>
Note: See TracChangeset for help on using the changeset viewer.