Ignore:
Timestamp:
25 Nov 2006, 16:17:39 (18 years ago)
Author:
Henrik Bettermann
Message:

settings changed for SectionOfficer?

Location:
WAeUP_SRP/trunk/profiles/default
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/actions.xml

    r937 r941  
    112112  </action>
    113113  <action title="Hostels" action_id="view_accommodation" category="navigation"
    114      condition_expr="member"
     114     condition_expr="python:portal.campus.accommodation.isSectionOfficer()"
    115115     url_expr="string:${portal_url}/campus/accommodation" visible="True">
    116116   <permission>View</permission>
  • WAeUP_SRP/trunk/profiles/default/types/AcademicsFolder.xml

    r575 r941  
    3737 </action>
    3838 <action title="Add Faculty" action_id="new_entry" category="object"
    39     condition_expr="python:True or member and 'UniversityManager'in member.getRoles()"
     39    condition_expr="here/isSectionOfficer"
    4040    url_expr="string:${object/absolute_url}/content_create?type_name=Faculty"
    4141    visible="True">
    42   <permission value="Modify portal content"/>
     42  <permission value="View"/>
    4343 </action>
    4444 <action title="action_folder_contents" action_id="contents" category="object"
     
    4646    visible="False"/>
    4747 <action title="Delegate" action_id="localroles" category="object"
    48     condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
     48    condition_expr="here/isSectionOfficer" url_expr="string:${object_url}/folder_localrole_form"
    4949    visible="True">
    5050  <permission value="Modify portal content"/>
    5151 </action>
    5252 <action title="Faculties" action_id="import_faculties" category="import"
    53     condition_expr="" url_expr="string:${object_url}/loadFacultiesFromCSV"
     53    condition_expr="here/isSectionManager" url_expr="string:${object_url}/loadFacultiesFromCSV"
    5454    visible="True">
    55   <permission value="Modify portal content"/>
     55  <permission value="View"/>
    5656 </action>
    5757 <action title="Departments" action_id="import_departments" category="import"
    58     condition_expr="" url_expr="string:${object_url}/loadDepartmentsFromCSV"
     58    condition_expr="here/isSectionManager" url_expr="string:${object_url}/loadDepartmentsFromCSV"
    5959    visible="True">
    60   <permission value="Modify portal content"/>
     60  <permission value="View"/>
    6161 </action>
    6262 <action title="Courses" action_id="import_courses" category="import"
    63     condition_expr="" url_expr="string:${object_url}/loadCoursesFromCSV"
     63    condition_expr="here/isSectionManager" url_expr="string:${object_url}/loadCoursesFromCSV"
    6464    visible="True">
    65   <permission value="Modify portal content"/>
     65  <permission value="View"/>
    6666 </action>
    6767 <action title="Certificates" action_id="import_certificates"
    68     category="import" condition_expr=""
     68    category="import" condition_expr="here/isSectionManager"
    6969    url_expr="string:${object_url}/loadCertificatesFromCSV" visible="True">
    70   <permission value="Modify portal content"/>
     70  <permission value="View"/>
    7171 </action>
    7272 <action title="CertificateCourses" action_id="import_certificate_courses"
    73     category="import" condition_expr=""
     73    category="import" condition_expr="here/isSectionManager"
    7474    url_expr="string:${object_url}/loadCertificateCoursesFromCSV"
    7575    visible="True">
    76   <permission value="Modify portal content"/>
     76  <permission value="View"/>
    7777 </action>
    7878 <action title="Faculties" action_id="export_faculties" category="export"
    79     condition_expr="" url_expr="string:${object_url}/exportFacultiesToCSV"
     79    condition_expr="here/isSectionManager" url_expr="string:${object_url}/exportFacultiesToCSV"
    8080    visible="True">
    81   <permission value="Modify portal content"/>
     81  <permission value="View"/>
    8282 </action>
    8383 <action title="Departments" action_id="export_departments" category="export"
    84     condition_expr="" url_expr="string:${object_url}/exportDepartmentsToCSV"
     84    condition_expr="here/isSectionManager" url_expr="string:${object_url}/exportDepartmentsToCSV"
    8585    visible="True">
    86   <permission value="Modify portal content"/>
     86  <permission value="View"/>
    8787 </action>
    8888 <action title="Courses" action_id="export_courses" category="export"
    89     condition_expr="" url_expr="string:${object_url}/exportCoursesToCSV"
     89    condition_expr="here/isSectionManager" url_expr="string:${object_url}/exportCoursesToCSV"
    9090    visible="True">
    91   <permission value="Modify portal content"/>
     91  <permission value="View"/>
    9292 </action>
    9393 <action title="Certificates" action_id="export_certificates"
    94     category="export" condition_expr=""
     94    category="export" condition_expr="here/isSectionManager"
    9595    url_expr="string:${object_url}/exportCertificatesToCSV" visible="True">
    96   <permission value="Modify portal content"/>
     96  <permission value="View"/>
    9797 </action>
    9898 <action title="CertificateCourses" action_id="export_certificate_courses"
    99     category="export" condition_expr=""
     99    category="export" condition_expr="here/isSectionManager"
    100100    url_expr="string:${object_url}/exportCertificateCoursesToCSV"
    101101    visible="True">
    102   <permission value="Modify portal content"/>
     102  <permission value="View"/>
    103103 </action>
    104104</object>
  • WAeUP_SRP/trunk/profiles/default/types/AccoFolder.xml

    r680 r941  
    4848 </action>
    4949 <action title="Delegate" action_id="localroles" category="object"
    50     condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
    51     visible="False">
     50    condition_expr="here/isSectionOfficer" url_expr="string:${object_url}/folder_localrole_form"
     51    visible="True">
    5252  <permission value="Modify portal content"/>
    5353 </action>
  • WAeUP_SRP/trunk/profiles/default/types/ScratchCardBatchesFolder.xml

    r695 r941  
    4040  <permission value="Modify portal content"/>
    4141 </action>
     42 <action title="Delegate" action_id="localroles" category="object"
     43    condition_expr="here/isSectionOfficer" url_expr="string:${object_url}/folder_localrole_form"
     44    visible="True">
     45  <permission value="Modify portal content"/>
     46 </action>
    4247</object>
  • WAeUP_SRP/trunk/profiles/default/types/StudentsFolder.xml

    r873 r941  
    4242 </action>
    4343 <action title="Delegate" action_id="localroles" category="object"
    44     condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
     44    condition_expr="here/isSectionOfficer" url_expr="string:${object_url}/folder_localrole_form"
    4545    visible="True">
    4646  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/workflows.xml

    r938 r941  
    1010 <object name="waeup_student_subobject_wf" meta_type="CPS Workflow"/>
    1111 <object name="waeup_student_wf" meta_type="CPS Workflow"/>
     12 <object name="waeup_course_registration_wf" meta_type="CPS Workflow"/>
    1213 <object name="waeup_workspace_wf" meta_type="CPS Workflow"/>
    1314 <object name="workspace_calendar_wf" meta_type="CPS Workflow"/>
     
    2425  </type>
    2526  <type type_id="AccoHall">
    26    <bound-workflow workflow_id="waeup_accommodation_wf"/>
    27   </type>
    28   <type type_id="Accommodation">
    29    <bound-workflow workflow_id="waeup_accommodation_wf"/>
     27   <bound-workflow workflow_id="waeup_section_wf"/>
    3028  </type>
    3129  <type type_id="CPS Calendar">
Note: See TracChangeset for help on using the changeset viewer.