Ignore:
Timestamp:
10 May 2006, 06:58:10 (19 years ago)
Author:
joachim
Message:

=removed files not necessary

Location:
waeup_product/trunk/profiles/default
Files:
36 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/profiles/default/import_steps.xml

    r199 r200  
    44              handler="Products.WAeUP.exportimport.importWAeUP"
    55              title="WAeUP">
    6   <dependency step="toolset"/>
     6  <dependency step="toolset" />
    77  Import WAeUP and its configuration.
    88 </import-step>
  • waeup_product/trunk/profiles/default/skins.xml

    r199 r200  
    99 <object name="waeup_student" meta_type="Filesystem Directory View"
    1010    directory="WAeUP/skins/waeup_student"/>
    11  <skin-path name="Basic">
    12   <layer name="custom"/>
    13   <layer name="waeup_default"/>
    14   <layer name="waeup_student"/>
    15   <layer name="waeup_faculty"/>
    16   <layer name="cpswfht_scripts"/>
    17   <layer name="cpswfht_templates"/>
    18   <layer name="cpsportlets_types"/>
    19   <layer name="cpsportlets_default"/>
    20   <layer name="cpsportlets_widgets"/>
    21   <layer name="cpsportlets_layouts"/>
    22   <layer name="cpsportlets_schemas"/>
    23   <layer name="cpsportlets_vocabularies"/>
    24   <layer name="cpsooo"/>
    25   <layer name="cps_wiki"/>
    26   <layer name="cps_newsletters"/>
    27   <layer name="cps_subscriptions_installer"/>
    28   <layer name="cps_subscriptions"/>
    29   <layer name="cpsnavigation_images"/>
    30   <layer name="cpsnavigation_default"/>
    31   <layer name="cpsnavigation_devel"/>
    32   <layer name="cps_directory"/>
    33   <layer name="cps_chat"/>
    34   <layer name="cps_forum"/>
    35   <layer name="cps_rss"/>
    36   <layer name="epoz"/>
    37   <layer name="mimetypes_icons"/>
    38   <layer name="cps_jscalendar"/>
    39   <layer name="cps_schemas"/>
    40   <layer name="cps_document"/>
    41   <layer name="cps_document_images"/>
    42   <layer name="cps_collector"/>
    43   <layer name="cps_javascript"/>
    44   <layer name="cps_default"/>
    45   <layer name="cps_default_installer"/>
    46   <layer name="cps_images"/>
    47   <layer name="cmf_calendar"/>
    48   <layer name="cps_boxes"/>
    49   <layer name="cps_nuxeo_style"/>
    50   <layer name="cmf_zpt_calendar"/>
    51   <layer name="cps_styles"/>
    52   <layer name="cps_devel"/>
    53   <layer name="zpt_topic"/>
    54   <layer name="zpt_calendar"/>
    55   <layer name="zpt_content"/>
    56   <layer name="zpt_generic"/>
    57   <layer name="zpt_control"/>
    58   <layer name="Images"/>
    59  </skin-path>
    6011 <skin-path name="CPSSkins">
    61   <layer name="custom"/>
    62   <layer name="waeup_default"/>
    63   <layer name="waeup_student"/>
    64   <layer name="waeup_faculty"/>
    65   <layer name="cpswfht_scripts"/>
    66   <layer name="cpswfht_templates"/>
    67   <layer name="CPSSkins"/>
    68   <layer name="cpsskins_icons"/>
    69   <layer name="cpsskins_cps3"/>
    70   <layer name="cpsskins_cmf"/>
    71   <layer name="cpsportlets_types"/>
    72   <layer name="cpsportlets_default"/>
    73   <layer name="cpsportlets_widgets"/>
    74   <layer name="cpsportlets_layouts"/>
    75   <layer name="cpsportlets_schemas"/>
    76   <layer name="cpsportlets_vocabularies"/>
    77   <layer name="cpsooo"/>
    78   <layer name="cps_wiki"/>
    79   <layer name="cps_newsletters"/>
    80   <layer name="cps_subscriptions_installer"/>
    81   <layer name="cps_subscriptions"/>
    82   <layer name="cpsnavigation_images"/>
    83   <layer name="cpsnavigation_default"/>
    84   <layer name="cpsnavigation_devel"/>
    85   <layer name="cps_directory"/>
    86   <layer name="cps_chat"/>
    87   <layer name="cps_forum"/>
    88   <layer name="cps_rss"/>
    89   <layer name="epoz"/>
    90   <layer name="mimetypes_icons"/>
    91   <layer name="cps_jscalendar"/>
    92   <layer name="cps_schemas"/>
    93   <layer name="cps_document"/>
    94   <layer name="cps_document_images"/>
    95   <layer name="cps_collector"/>
    96   <layer name="cps_javascript"/>
    97   <layer name="cps_default"/>
    98   <layer name="cps_default_installer"/>
    99   <layer name="cps_images"/>
    100   <layer name="cmf_calendar"/>
    101   <layer name="cps_boxes"/>
    102   <layer name="cps_nuxeo_style"/>
    103   <layer name="cmf_zpt_calendar"/>
    104   <layer name="cps_styles"/>
    105   <layer name="cps_devel"/>
    106   <layer name="zpt_topic"/>
    107   <layer name="zpt_calendar"/>
    108   <layer name="zpt_content"/>
    109   <layer name="zpt_generic"/>
    110   <layer name="zpt_control"/>
    111   <layer name="Images"/>
     12  <layer name="waeup_default" insert-after="cps_default"/>
     13  <layer name="waeup_student" insert-after="cps_default"/>
     14  <layer name="waeup_faculty" insert-after="cps_default"/>
    11215 </skin-path>
    11316 <skin-path name="CPSSkins-macroless">
    114   <layer name="custom"/>
    115   <layer name="CPSSkins"/>
    116   <layer name="cpsskins_icons"/>
    117   <layer name="cpsskins_cps3_macroless"/>
    118   <layer name="cpsskins_cps3"/>
    119   <layer name="cpsskins_cmf"/>
    120   <layer name="cpsportlets_types"/>
    121   <layer name="cpsportlets_default"/>
    122   <layer name="cpsportlets_widgets"/>
    123   <layer name="cpsportlets_layouts"/>
    124   <layer name="cpsportlets_schemas"/>
    125   <layer name="cpsportlets_vocabularies"/>
    126   <layer name="cpsooo"/>
    127   <layer name="cps_wiki"/>
    128   <layer name="cps_newsletters"/>
    129   <layer name="cps_subscriptions_installer"/>
    130   <layer name="cps_subscriptions"/>
    131   <layer name="cpsnavigation_images"/>
    132   <layer name="cpsnavigation_default"/>
    133   <layer name="cpsnavigation_devel"/>
    134   <layer name="cps_directory"/>
    135   <layer name="cps_chat"/>
    136   <layer name="cps_forum"/>
    137   <layer name="cps_rss"/>
    138   <layer name="epoz"/>
    139   <layer name="mimetypes_icons"/>
    140   <layer name="cps_jscalendar"/>
    141   <layer name="cps_schemas"/>
    142   <layer name="cps_document"/>
    143   <layer name="cps_document_images"/>
    144   <layer name="cps_collector"/>
    145   <layer name="cps_javascript"/>
    146   <layer name="cps_default"/>
    147   <layer name="cps_default_installer"/>
    148   <layer name="cps_images"/>
    149   <layer name="cmf_calendar"/>
    150   <layer name="cps_boxes"/>
    151   <layer name="cps_nuxeo_style"/>
    152   <layer name="cmf_zpt_calendar"/>
    153   <layer name="cps_styles"/>
    154   <layer name="cps_devel"/>
    155   <layer name="zpt_topic"/>
    156   <layer name="zpt_calendar"/>
    157   <layer name="zpt_content"/>
    158   <layer name="zpt_generic"/>
    159   <layer name="zpt_control"/>
    160   <layer name="Images"/>
    161  </skin-path>
    162  <skin-path name="No CSS">
    163   <layer name="no_css"/>
    164   <layer name="custom"/>
    165   <layer name="epoz"/>
    166   <layer name="mimetypes_icons"/>
    167   <layer name="topic"/>
    168   <layer name="calendar"/>
    169   <layer name="content"/>
    170   <layer name="generic"/>
    171   <layer name="control"/>
    172   <layer name="Images"/>
    173  </skin-path>
    174  <skin-path name="Nouvelle">
    175   <layer name="nouvelle"/>
    176   <layer name="custom"/>
    177   <layer name="epoz"/>
    178   <layer name="mimetypes_icons"/>
    179   <layer name="topic"/>
    180   <layer name="calendar"/>
    181   <layer name="content"/>
    182   <layer name="generic"/>
    183   <layer name="control"/>
    184   <layer name="Images"/>
     17  <layer name="waeup_default" insert-after="cps_default"/>
     18  <layer name="waeup_student" insert-after="cps_default"/>
     19  <layer name="waeup_faculty" insert-after="cps_default"/>
    18520 </skin-path>
    18621</object>
  • waeup_product/trunk/profiles/default/types.xml

    r199 r200  
    55 <object name="AccoFolder" meta_type="CPS Flexible Type Information"/>
    66 <object name="Accommodation" meta_type="CPS Flexible Type Information"/>
    7  <object name="Action Box" meta_type="Factory-based Type Information"/>
    8  <object name="Action Box Templet"
    9     meta_type="Factory-based Type Information"/>
    10  <object name="Actions Portlet" meta_type="CPS Flexible Type Information"/>
    11  <object name="Add Item Portlet" meta_type="CPS Flexible Type Information"/>
    12  <object name="Area Color" meta_type="Factory-based Type Information"/>
    13  <object name="Area Shape" meta_type="Factory-based Type Information"/>
    14  <object name="Base Box" meta_type="Factory-based Type Information"/>
    15  <object name="Book" meta_type="CPS Flexible Type Information"/>
    16  <object name="Box Corners" meta_type="Factory-based Type Information"/>
    17  <object name="Breadcrumbs Portlet"
    18     meta_type="CPS Flexible Type Information"/>
    19  <object name="Breadcrumbs Templet"
    20     meta_type="Factory-based Type Information"/>
    21  <object name="CPS Calendar" meta_type="Factory-based Type Information"/>
    22  <object name="CPS Proxy BTree Folder"
    23     meta_type="Factory-based Type Information"/>
    24  <object name="CPS Proxy BTree Folderish Document"
    25     meta_type="Factory-based Type Information"/>
    26  <object name="CPS Proxy Document"
    27     meta_type="Factory-based Type Information"/>
    28  <object name="CPS Proxy Folder" meta_type="Factory-based Type Information"/>
    29  <object name="CPS Proxy Folderish Document"
    30     meta_type="Factory-based Type Information"/>
    31  <object name="CPSForum" meta_type="CPS Flexible Type Information"/>
    32  <object name="Calendar Style" meta_type="Factory-based Type Information"/>
    33  <object name="Calendar Templet" meta_type="Factory-based Type Information"/>
    34  <object name="Cell Block" meta_type="Factory-based Type Information"/>
    35  <object name="Cell Hider" meta_type="Factory-based Type Information"/>
    36  <object name="Cell Sizer" meta_type="Factory-based Type Information"/>
    37  <object name="Cell Styler" meta_type="Factory-based Type Information"/>
    38  <object name="Chapter" meta_type="CPS Flexible Type Information"/>
    39  <object name="Chat" meta_type="Factory-based Type Information"/>
    40  <object name="ChatItem" meta_type="Factory-based Type Information"/>
    41  <object name="Collapsible Menu Style"
    42     meta_type="Factory-based Type Information"/>
    43  <object name="Collapsible Menu Templet"
    44     meta_type="Factory-based Type Information"/>
    45  <object name="Collector Document" meta_type="CPS Flexible Type Information"/>
    46  <object name="Content Box" meta_type="Factory-based Type Information"/>
    47  <object name="Content Portlet" meta_type="CPS Flexible Type Information"/>
    487 <object name="Course" meta_type="CPS Flexible Type Information"/>
    498 <object name="CourseTicket" meta_type="CPS Flexible Type Information"/>
    50  <object name="Custom Portlet" meta_type="CPS Flexible Type Information"/>
    519 <object name="Department" meta_type="CPS Flexible Type Information"/>
    52  <object name="Discussion Item" meta_type="Factory-based Type Information"/>
    53  <object name="Doc Render Box" meta_type="Factory-based Type Information"/>
    54  <object name="Document" meta_type="CPS Flexible Type Information"/>
    55  <object name="Document Info Templet"
    56     meta_type="Factory-based Type Information"/>
    57  <object name="Document Portlet" meta_type="CPS Flexible Type Information"/>
    58  <object name="Dummy Portlet" meta_type="CPS Flexible Type Information"/>
    59  <object name="Event" meta_type="Factory-based Type Information"/>
    60  <object name="Event Calendar Box"
    61     meta_type="Factory-based Type Information"/>
    62  <object name="EventDoc" meta_type="CPS Flexible Type Information"/>
    63  <object name="FAQ" meta_type="CPS Flexible Type Information"/>
    64  <object name="FAQitem" meta_type="CPS Flexible Type Information"/>
    6510 <object name="Faculty" meta_type="CPS Flexible Type Information"/>
    66  <object name="Favorite" meta_type="Factory-based Type Information"/>
    67  <object name="File" meta_type="CPS Flexible Type Information"/>
    68  <object name="Flash Animation" meta_type="CPS Flexible Type Information"/>
    69  <object name="Flash Box" meta_type="Factory-based Type Information"/>
    70  <object name="Flash Box Templet" meta_type="Factory-based Type Information"/>
    71  <object name="Flexible" meta_type="CPS Flexible Type Information"/>
    72  <object name="Folder" meta_type="Factory-based Type Information"/>
    73  <object name="Font Color" meta_type="Factory-based Type Information"/>
    74  <object name="Font Shape" meta_type="Factory-based Type Information"/>
    75  <object name="Form Style" meta_type="Factory-based Type Information"/>
    76  <object name="ForumPost" meta_type="CPS Flexible Type Information"/>
    77  <object name="Glossary" meta_type="CPS Flexible Type Information"/>
    78  <object name="GlossaryItem" meta_type="CPS Flexible Type Information"/>
    79  <object name="Image" meta_type="CPS Flexible Type Information"/>
    80  <object name="Image Box" meta_type="Factory-based Type Information"/>
    81  <object name="Image Box Templet" meta_type="Factory-based Type Information"/>
    82  <object name="Image Portlet" meta_type="CPS Flexible Type Information"/>
    83  <object name="ImageGallery" meta_type="CPS Flexible Type Information"/>
    84  <object name="Internal Links Portlet"
    85     meta_type="CPS Flexible Type Information"/>
    86  <object name="InternalLinks Box" meta_type="Factory-based Type Information"/>
    8711 <object name="Jamb" meta_type="CPS Flexible Type Information"/>
    88  <object name="Language Portlet" meta_type="CPS Flexible Type Information"/>
    89  <object name="Language Templet" meta_type="Factory-based Type Information"/>
    90  <object name="Link" meta_type="CPS Flexible Type Information"/>
    91  <object name="Main Content Templet"
    92     meta_type="Factory-based Type Information"/>
    93  <object name="Navigation Portlet" meta_type="CPS Flexible Type Information"/>
    94  <object name="News Item" meta_type="CPS Flexible Type Information"/>
    95  <object name="NewsLetter" meta_type="CPS Flexible Type Information"/>
    96  <object name="OOoDocbookDocument" meta_type="CPS Flexible Type Information"/>
    97  <object name="Page" meta_type="CPS Flexible Type Information"/>
    98  <object name="Page Block" meta_type="Factory-based Type Information"/>
    99  <object name="Palette Border" meta_type="Factory-based Type Information"/>
    100  <object name="Palette Color" meta_type="Factory-based Type Information"/>
    101  <object name="Portal Box Color" meta_type="Factory-based Type Information"/>
    102  <object name="Portal Box Group Templet"
    103     meta_type="Factory-based Type Information"/>
    104  <object name="Portal Box Shape" meta_type="Factory-based Type Information"/>
    105  <object name="Portal Box Templet"
    106     meta_type="Factory-based Type Information"/>
    107  <object name="Portal Tab Style" meta_type="Factory-based Type Information"/>
    108  <object name="Portal Tab Templet"
    109     meta_type="Factory-based Type Information"/>
    110  <object name="Portal Theme" meta_type="Factory-based Type Information"/>
    111  <object name="Portlet Box Templet"
    112     meta_type="Factory-based Type Information"/>
    113  <object name="Press Release" meta_type="CPS Flexible Type Information"/>
    114  <object name="Quiz Document" meta_type="CPS Flexible Type Information"/>
    115  <object name="RSS Box" meta_type="Factory-based Type Information"/>
    116  <object name="RSS Portlet" meta_type="CPS Flexible Type Information"/>
    117  <object name="Rotating Image Portlet"
    118     meta_type="CPS Flexible Type Information"/>
    119  <object name="Schedule" meta_type="CPS Flexible Type Information"/>
    12012 <object name="ScratchCard" meta_type="CPS Flexible Type Information"/>
    121  <object name="Search Box Templet"
    122     meta_type="Factory-based Type Information"/>
    123  <object name="Search Portlet" meta_type="CPS Flexible Type Information"/>
    124  <object name="Section" meta_type="CPS Flexible Type Information"/>
    12513 <object name="Semester" meta_type="CPS Flexible Type Information"/>
    12614 <object name="Student" meta_type="CPS Flexible Type Information"/>
     
    13018 <object name="StudentsFolder" meta_type="CPS Flexible Type Information"/>
    13119 <object name="StudyLevel" meta_type="CPS Flexible Type Information"/>
    132  <object name="Text Box" meta_type="Factory-based Type Information"/>
    133  <object name="Text Box Templet" meta_type="Factory-based Type Information"/>
    134  <object name="Text Portlet" meta_type="CPS Flexible Type Information"/>
    135  <object name="Theme Chooser Templet"
    136     meta_type="Factory-based Type Information"/>
    137  <object name="Theme Folder" meta_type="Factory-based Type Information"/>
    138  <object name="Theme Page" meta_type="Factory-based Type Information"/>
    139  <object name="Topic" meta_type="Factory-based Type Information"/>
    140  <object name="Tree Box" meta_type="Factory-based Type Information"/>
    14120 <object name="University" meta_type="CPS Flexible Type Information"/>
    142  <object name="Wiki" meta_type="Factory-based Type Information"/>
    143  <object name="Wiki Page" meta_type="Factory-based Type Information"/>
    144  <object name="Workspace" meta_type="CPS Flexible Type Information"/>
    145  <object name="ZippedHtml" meta_type="CPS Flexible Type Information"/>
    14621</object>
  • waeup_product/trunk/profiles/default/types/AcademicsFolder.xml

    r199 r200  
    2424 </property>
    2525 <property name="layouts">
    26   <element value="waeup_common"/>
     26  <element value="common"/>
    2727  <element value="folder"/>
    2828 </property>
     
    3333 <property name="storage_methods"/>
    3434 <property name="cps_is_portlet">False</property>
     35 <alias from="(Default)" to="temporary_view_all"/>
    3536 <alias from="view" to="temporary_view_all"/>
    3637 <action title="Standard View" action_id="view" category="object"
     
    4041 </action>
    4142 <action title="Add Faculty" action_id="add_faculty" category="object"
    42     condition_expr="python:member and 'UniversityManager'in member.getRoles()"
     43    condition_expr="python:True or member and 'UniversityManager'in member.getRoles()"
    4344    url_expr="string:${object/absolute_url}/create_common?type_name=Faculty"
    4445    visible="True">
  • waeup_product/trunk/profiles/default/types/AccoFolder.xml

    r199 r200  
    2323 </property>
    2424 <property name="layouts">
    25   <element value="waeup_common"/>
     25  <element value="common"/>
    2626 </property>
    2727 <property name="layout_clusters">
  • waeup_product/trunk/profiles/default/types/Accommodation.xml

    r199 r200  
    1414 <property name="allow_discussion">False</property>
    1515 <property name="cps_is_searchable">True</property>
    16  <property name="cps_proxy_type">cpsdocument</property>
     16 <property name="cps_proxy_type">folder</property>
    1717 <property name="cps_display_as_document_in_listing">True</property>
    1818 <property name="schemas">
  • waeup_product/trunk/profiles/default/types/Department.xml

    r199 r200  
    3333 <property name="storage_methods"/>
    3434 <property name="cps_is_portlet">False</property>
     35 <alias from="(Default)" to="temporary_view_all"/>
    3536 <alias from="view" to="temporary_view_all"/>
    3637 <action title="Standard View" action_id="view" category="object"
     
    4041 </action>
    4142 <action title="action_edit" action_id="edit" category="object"
    42     condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    43     visible="True">
    44   <permission value="University Manage"/>
     43    condition_expr="python:member and 'Manager' in member.getRoles()"
     44    url_expr="string:${object_url}/cpsdocument_edit_form" visible="True">
     45  <permission value="Modify portal content"/>
    4546 </action>
    4647 <action title="Add Course" action_id="create_course" category="object"
     
    5253    condition_expr="python:member and 'Manager' in member.getRoles()"
    5354    url_expr="string:${object_url}/folder_contents" visible="True">
    54   <permission value="Modify portal content"/>
    55  </action>
    56  <action title="action_edit" action_id="edit" category="object"
    57     condition_expr="python:member and 'Manager' in member.getRoles()"
    58     url_expr="string:${object_url}/cpsdocument_edit_form" visible="True">
    5955  <permission value="Modify portal content"/>
    6056 </action>
  • waeup_product/trunk/profiles/default/types/Faculty.xml

    r199 r200  
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
    13  <property name="allowed_content_types">Department</property>
     13 <property name="allowed_content_types">
     14  <element value="Department"/>
     15 </property>
    1416 <property name="allow_discussion">False</property>
    1517 <property name="cps_is_searchable">True</property>
    16  <property name="cps_proxy_type">folder</property>
     18 <property name="cps_proxy_type">btreefolderishdocument</property>
    1719 <property name="cps_display_as_document_in_listing">True</property>
    1820 <property name="schemas">
     
    3032 <property name="storage_methods"/>
    3133 <property name="cps_is_portlet">False</property>
     34 <alias from="(Default)" to="temporary_view_all"/>
    3235 <alias from="view" to="temporary_view_all"/>
    3336 <action title="Standard View" action_id="view" category="object"
     
    3740 </action>
    3841 <action title="action_edit" action_id="edit" category="object"
    39     condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    40     visible="True">
    41   <permission value="University Manage"/>
     42    condition_expr="python:member and 'Manager' in member.getRoles()"
     43    url_expr="string:${object_url}/cpsdocument_edit_form" visible="True">
     44  <permission value="Modify portal content"/>
    4245 </action>
    4346 <action title="Add Department" action_id="add_department" category="object"
     
    5255  <permission value="University Manage"/>
    5356 </action>
    54  <action title="action_edit" action_id="edit" category="object"
    55     condition_expr="python:member and 'Manager' in member.getRoles()"
    56     url_expr="string:${object_url}/cpsdocument_edit_form" visible="True">
    57   <permission value="Modify portal content"/>
    58  </action>
    5957 <action title="action_metadata" action_id="metadata" category="object"
    6058    condition_expr="python:member and 'Manager' in member.getRoles()"
     
    6765  <permission value="Modify portal content"/>
    6866 </action>
     67 <action title="Add Faculty" action_id="add_faculty" category="object"
     68    condition_expr="python:member and 'UniversityManager'in member.getRoles()"
     69    url_expr="string:${object/absolute_url}/create_common?type_name=Faculty"
     70    visible="True">
     71  <permission value="University Manage"/>
     72 </action>
    6973</object>
  • waeup_product/trunk/profiles/default/types/Jamb.xml

    r199 r200  
    2828 </property>
    2929 <property name="cps_is_portlet">False</property>
     30 <alias from="(Default)" to="temporary_view_all"/>
    3031 <alias from="view" to="temporary_view_all"/>
    3132 <action title="Standard View" action_id="view" category="object"
     
    3637 <action title="action_edit" action_id="edit" category="object"
    3738    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    38     visible="True">
    39   <permission value="Student Manage"/>
    40  </action>
     39    visible="True"/>
    4140 <action title="delegate" action_id="localroles" category="object"
    4241    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
     
    4645 <action title="Add Content" action_id="add_content" category="object"
    4746    condition_expr="python:member and 'Manager' in member.getRoles()"
    48     url_expr="string:${object/absolute_url}/folder_factories" visible="True">
    49   <permission value="Student Manage"/>
    50  </action>
     47    url_expr="string:${object/absolute_url}/folder_factories"
     48    visible="False"/>
    5149 <action title="action_metadata" action_id="metadata" category="object"
    5250    condition_expr="python:'Manager' in member.getRoles()"
    53     url_expr="string:${object_url}/cpsdocument_metadata" visible="True">
    54   <permission value="University Manage"/>
    55  </action>
     51    url_expr="string:${object_url}/cpsdocument_metadata" visible="False"/>
    5652</object>
  • waeup_product/trunk/profiles/default/types/Student.xml

    r199 r200  
    3636 <property name="storage_methods"/>
    3737 <property name="cps_is_portlet">False</property>
     38 <alias from="(Default)" to="temporary_view_all"/>
    3839 <alias from="view" to="temporary_view_all"/>
    3940 <action title="Standard View" action_id="view" category="object"
     
    4445 <action title="action_metadata" action_id="metadata" category="object"
    4546    condition_expr="python:member and 'Manager' in member.getRoles()"
    46     url_expr="string:${object_url}/cpsdocument_metadata" visible="True">
     47    url_expr="string:${object_url}/cpsdocument_metadata" visible="False">
    4748  <permission value="University Manage"/>
    4849 </action>
    4950 <action title="delegate" action_id="localroles" category="object"
    5051    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
    51     visible="True">
     52    visible="False">
    5253  <permission value="Modify portal content"/>
    5354 </action>
  • waeup_product/trunk/profiles/default/types/StudentsFolder.xml

    r199 r200  
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
    13  <property name="allowed_content_types">Student</property>
     13 <property name="allowed_content_types">
     14  <element value="Student"/>
     15 </property>
    1416 <property name="allow_discussion">False</property>
    1517 <property name="cps_is_searchable">True</property>
    16  <property name="cps_proxy_type">folder</property>
     18 <property name="cps_proxy_type">btreefolder</property>
    1719 <property name="cps_display_as_document_in_listing">True</property>
    1820 <property name="schemas">
     
    2224 </property>
    2325 <property name="layouts">
    24   <element value="waeup_common"/>
     26  <element value="common"/>
    2527 </property>
    2628 <property name="layout_clusters">
     
    3032 <property name="storage_methods"/>
    3133 <property name="cps_is_portlet">False</property>
     34 <alias from="(Default)" to="temporary_view_all"/>
    3235 <alias from="view" to="temporary_view_all"/>
    3336 <action title="Standard View" action_id="view" category="object"
  • waeup_product/trunk/profiles/default/types/University.xml

    r199 r200  
    88 <property name="product">WAeUP</property>
    99 <property name="factory">addUniversity</property>
    10  <property name="immediate_view">university_view</property>
     10 <property name="immediate_view">university_view_all</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
    1313 <property name="allowed_content_types">
     14  <element value="AcademicsFolder"/>
     15  <element value="AccoFolder"/>
    1416  <element value="Chat"/>
    1517  <element value="FAQ"/>
    16   <element value="CPSCalendar"/>
    17   <element value="Forum"/>
     18  <element value="Section"/>
    1819  <element value="StudentsFolder"/>
    19   <element value="Faculty"/>
    20   <element value="AccoFolder"/>
    21   <element value="Section"/>
    22   <element value="CPSProxyDocument"/>
    2320 </property>
    2421 <property name="allow_discussion">False</property>
     
    3229 </property>
    3330 <property name="layouts">
    34   <element value="waeup_common"/>
     31  <element value="common"/>
    3532 </property>
    3633 <property name="layout_clusters">
     
    5451 <action title="action_folder_contents" action_id="contents" category="object"
    5552    condition_expr="python:member and  'Manager' in member.getRoles()"
    56     url_expr="string:${object_url}/folder_contents" visible="True">
     53    url_expr="string:${object_url}/folder_contents" visible="False">
    5754  <permission value="Modify portal content"/>
    5855 </action>
    5956 <action title="action_edit" action_id="edit" category="object"
    6057    condition_expr="python:member and 'Manager' in member.getRoles()"
    61     url_expr="string:${object_url}/cpsdocument_edit_form" visible="True">
     58    url_expr="string:${object_url}/cpsdocument_edit_form" visible="False">
    6259  <permission value="Modify portal content"/>
    6360 </action>
    6461 <action title="action_metadata" action_id="metadata" category="object"
    6562    condition_expr="python:member and 'Manager' in member.getRoles()"
    66     url_expr="string:${object_url}/cpsdocument_metadata" visible="True">
     63    url_expr="string:${object_url}/cpsdocument_metadata" visible="False">
    6764  <permission value="Modify portal content"/>
    6865 </action>
  • waeup_product/trunk/profiles/default/workflows.xml

    r199 r200  
    22<object name="portal_workflow" meta_type="CPS Workflow Tool">
    33 <property name="title"></property>
    4  <object name="waeup_section_wf" meta_type="CPS Workflow"/>
     4 <object name="waeup_faculty_wf" meta_type="CPS Workflow"/>
     5 <object name="waeup_department_wf" meta_type="CPS Workflow"/>
     6 <object name="waeup_course_wf" meta_type="CPS Workflow"/>
     7 <object name="waeup_accommodation_wf" meta_type="CPS Workflow"/>
    58 <object name="waeup_student_wf" meta_type="CPS Workflow"/>
    6  <object name="waeup_workspace_wf" meta_type="CPS Workflow"/>
     9 <bindings>
     10  <default/>
     11  <type type_id="University">
     12   <bound-workflow workflow_id="section_folder_wf"/>
     13  </type>
     14  <type type_id="AccoFolder">
     15   <bound-workflow workflow_id="section_folder_wf"/>
     16  </type>
     17  <type type_id="Accommodation">
     18   <bound-workflow workflow_id="waeup_accommodation_wf"/>
     19  </type>
     20  <type type_id="AcademicsFolder">
     21   <bound-workflow workflow_id="section_folder_wf"/>
     22  </type>
     23  <type type_id="Faculty">
     24   <bound-workflow workflow_id="waeup_faculty_wf"/>
     25  </type>
     26  <type type_id="Department">
     27   <bound-workflow workflow_id="waeup_department_wf"/>
     28  </type>
     29  <type type_id="Course">
     30   <bound-workflow workflow_id="waeup_course_wf"/>
     31  </type>
     32  <type type_id="StudentsFolder">
     33   <bound-workflow workflow_id="section_folder_wf"/>
     34  </type>
     35  <type type_id="Student">
     36   <bound-workflow workflow_id="waeup_student_wf"/>
     37  </type>
     38  <type type_id="Jamb">
     39   <bound-workflow workflow_id="waeup_base_wf"/>
     40  </type>
     41 </bindings>
    742</object>
  • waeup_product/trunk/profiles/default/workflows/waeup_section_wf/definition.xml

    r199 r200  
    1212  <permission-map name="Modify portal content"
    1313                  acquired="True">
    14    <permission-role>StudentManager</permission-role>
    15    <permission-role>UniversityManager</permission-role>
     14   <permission-role>Manager</permission-role>
    1615  </permission-map>
    1716  <permission-map name="View" acquired="True">
     
    2625  <guard>
    2726   <guard-role>Manager</guard-role>
    28    <guard-role>StudentManager</guard-role>
    29    <guard-role>UniversityManager</guard-role>
     27   <guard-role>SectionManager</guard-role>
    3028  </guard>
    3129  <transition-behavior behavior_id="initial-create"/>
     
    3836  <guard>
    3937   <guard-role>Manager</guard-role>
    40    <guard-role>StudentManager</guard-role>
    41    <guard-role>UniversityManager</guard-role>
     38   <guard-role>SectionManager</guard-role>
    4239  </guard>
    4340  <transition-behavior behavior_id="allow-sub-create"/>
     
    5047  <guard>
    5148   <guard-role>Manager</guard-role>
    52    <guard-role>StudentManager</guard-role>
    53    <guard-role>UniversityManager</guard-role>
     49   <guard-role>SectionManager</guard-role>
    5450  </guard>
    5551  <transition-behavior behavior_id="allow-sub-delete"/>
  • waeup_product/trunk/profiles/default/workflows/waeup_student_wf/definition.xml

    r199 r200  
    33              title="CPS Workflow Definition"
    44              state_variable="review_state"
    5               initial_state="work" meta_type="CPS Workflow">
    6  <permission>Modify portal content</permission>
     5              meta_type="CPS Workflow">
    76 <permission>View</permission>
    87 <state state_id="work" title="Work">
    98  <exit-transition transition_id="create_content"/>
    109  <exit-transition transition_id="cut_copy_paste"/>
    11   <exit-transition transition_id="close"/>
    12   <permission-map name="Modify portal content"
    13                   acquired="True">
    14    <permission-role>StudentManager</permission-role>
    15    <permission-role>UniversityManager</permission-role>
    16    <permission-role>Student</permission-role>
    17   </permission-map>
    18   <permission-map name="View" acquired="True">
    19    <permission-role>Student</permission-role>
     10  <permission-map name="View" acquired="False">
     11   <permission-role>Manager</permission-role>
     12   <permission-role>SectionManager</permission-role>
     13   <permission-role>SectionReviewer</permission-role>
     14   <permission-role>SectionReader</permission-role>
    2015  </permission-map>
    2116 </state>
     
    2318             new_state="work" trigger="USER"
    2419             before_script="" after_script="">
    25   <description>Intial transition like</description>
    2620 
    2721  <guard>
    2822   <guard-role>Manager</guard-role>
    29    <guard-role>StudentManager</guard-role>
    30    <guard-role>UniversityManager</guard-role>
    31    <guard-role>Student</guard-role>
     23   <guard-role>SectionManager</guard-role>
    3224  </guard>
    3325  <transition-behavior behavior_id="initial-create"/>
     
    3628             title="Create content" new_state="work"
    3729             trigger="USER" before_script="" after_script="">
    38   <description>Allow sub Object Create</description>
    39   <action url="" category="">New</action>
     30 
    4031  <guard>
    4132   <guard-role>Manager</guard-role>
    42    <guard-role>StudentManager</guard-role>
    43    <guard-role>UniversityManager</guard-role>
    44    <guard-role>Student</guard-role>
     33   <guard-role>SectionManager</guard-role>
     34   <guard-role>SectionReviewer</guard-role>
     35   <guard-role>SectionReader</guard-role>
    4536  </guard>
    4637  <transition-behavior behavior_id="allow-sub-create"/>
    47   <transition-behavior behavior_id="allow-sub-checkout"/>
     38  <transition-behavior behavior_id="allow-sub-publishing"/>
    4839 </transition>
    4940 <transition transition_id="cut_copy_paste"
    50              title="Cut/Copy/Paste" new_state="work"
     41             title="Cut/Copy/Paste" new_state=""
    5142             trigger="USER" before_script="" after_script="">
    52   <action url="" category="">New</action>
     43 
    5344  <guard>
    5445   <guard-role>Manager</guard-role>
    55    <guard-role>StudentManager</guard-role>
    56    <guard-role>UniversityManager</guard-role>
     46   <guard-role>SectionManager</guard-role>
     47   <guard-role>SectionReviewer</guard-role>
     48   <guard-role>SectionReader</guard-role>
    5749  </guard>
     50  <transition-behavior behavior_id="allow-sub-move"/>
    5851  <transition-behavior behavior_id="allow-sub-delete"/>
    59   <transition-behavior behavior_id="allow-sub-move"/>
    6052  <transition-behavior behavior_id="allow-sub-copy"/>
    6153 </transition>
    62  <variable variable_id="action" for_catalog="False"
    63            for_status="True" update_always="True">
    64   <description>The last transition</description>
    65   <default>
    66    
    67    <expression>transition/getId|nothing</expression>
    68   </default>
    69   <guard>
    70   </guard>
    71  </variable>
    72  <variable variable_id="actor" for_catalog="False"
    73            for_status="True" update_always="True">
    74   <description>The ID of the user who performed the last transition</description>
    75   <default>
    76    
    77    <expression>user/getId</expression>
    78   </default>
    79   <guard>
    80   </guard>
    81  </variable>
    82  <variable variable_id="comments" for_catalog="False"
    83            for_status="True" update_always="True">
    84   <description>Comments about the last transition</description>
    85   <default>
    86    
    87    <expression>python:state_change.kwargs.get('comment', '')</expression>
    88   </default>
    89   <guard>
    90   </guard>
    91  </variable>
    92  <variable variable_id="dest_container" for_catalog="False"
    93            for_status="True" update_always="True">
    94   <description>Destination container for the last paste/publish</description>
    95   <default>
    96    
    97    <expression>python:state_change.kwargs.get('dest_container', '')</expression>
    98   </default>
    99   <guard>
    100   </guard>
    101  </variable>
    102  <variable variable_id="review_history" for_catalog="False"
    103            for_status="False" update_always="False">
    104   <description>Provides access to workflow history</description>
    105   <default>
    106    
    107    <expression>state_change/getHistory</expression>
    108   </default>
    109   <guard>
    110    <guard-role>Manager</guard-role>
    111    <guard-role>WorkspaceManager</guard-role>
    112    <guard-role>WorkspaceMember</guard-role>
    113    <guard-role>WorkspaceReader</guard-role>
    114    <guard-role>Member</guard-role>
    115   </guard>
    116  </variable>
    117  <variable variable_id="time" for_catalog="False"
    118            for_status="True" update_always="True">
    119   <description>Time of the last transition</description>
    120   <default>
    121    
    122    <expression>state_change/getDateTime</expression>
    123   </default>
    124   <guard>
    125   </guard>
    126  </variable>
    12754</cps-workflow>
Note: See TracChangeset for help on using the changeset viewer.