Changeset 200 for waeup_product/trunk/profiles
- Timestamp:
- 10 May 2006, 06:58:10 (19 years ago)
- 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 4 4 handler="Products.WAeUP.exportimport.importWAeUP" 5 5 title="WAeUP"> 6 <dependency step="toolset" />6 <dependency step="toolset" /> 7 7 Import WAeUP and its configuration. 8 8 </import-step> -
waeup_product/trunk/profiles/default/skins.xml
r199 r200 9 9 <object name="waeup_student" meta_type="Filesystem Directory View" 10 10 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>60 11 <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"/> 112 15 </skin-path> 113 16 <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"/> 185 20 </skin-path> 186 21 </object> -
waeup_product/trunk/profiles/default/types.xml
r199 r200 5 5 <object name="AccoFolder" meta_type="CPS Flexible Type Information"/> 6 6 <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"/>48 7 <object name="Course" meta_type="CPS Flexible Type Information"/> 49 8 <object name="CourseTicket" meta_type="CPS Flexible Type Information"/> 50 <object name="Custom Portlet" meta_type="CPS Flexible Type Information"/>51 9 <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"/>65 10 <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"/>87 11 <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"/>120 12 <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"/>125 13 <object name="Semester" meta_type="CPS Flexible Type Information"/> 126 14 <object name="Student" meta_type="CPS Flexible Type Information"/> … … 130 18 <object name="StudentsFolder" meta_type="CPS Flexible Type Information"/> 131 19 <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"/>141 20 <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"/>146 21 </object> -
waeup_product/trunk/profiles/default/types/AcademicsFolder.xml
r199 r200 24 24 </property> 25 25 <property name="layouts"> 26 <element value=" waeup_common"/>26 <element value="common"/> 27 27 <element value="folder"/> 28 28 </property> … … 33 33 <property name="storage_methods"/> 34 34 <property name="cps_is_portlet">False</property> 35 <alias from="(Default)" to="temporary_view_all"/> 35 36 <alias from="view" to="temporary_view_all"/> 36 37 <action title="Standard View" action_id="view" category="object" … … 40 41 </action> 41 42 <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()" 43 44 url_expr="string:${object/absolute_url}/create_common?type_name=Faculty" 44 45 visible="True"> -
waeup_product/trunk/profiles/default/types/AccoFolder.xml
r199 r200 23 23 </property> 24 24 <property name="layouts"> 25 <element value=" waeup_common"/>25 <element value="common"/> 26 26 </property> 27 27 <property name="layout_clusters"> -
waeup_product/trunk/profiles/default/types/Accommodation.xml
r199 r200 14 14 <property name="allow_discussion">False</property> 15 15 <property name="cps_is_searchable">True</property> 16 <property name="cps_proxy_type"> cpsdocument</property>16 <property name="cps_proxy_type">folder</property> 17 17 <property name="cps_display_as_document_in_listing">True</property> 18 18 <property name="schemas"> -
waeup_product/trunk/profiles/default/types/Department.xml
r199 r200 33 33 <property name="storage_methods"/> 34 34 <property name="cps_is_portlet">False</property> 35 <alias from="(Default)" to="temporary_view_all"/> 35 36 <alias from="view" to="temporary_view_all"/> 36 37 <action title="Standard View" action_id="view" category="object" … … 40 41 </action> 41 42 <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"/> 45 46 </action> 46 47 <action title="Add Course" action_id="create_course" category="object" … … 52 53 condition_expr="python:member and 'Manager' in member.getRoles()" 53 54 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">59 55 <permission value="Modify portal content"/> 60 56 </action> -
waeup_product/trunk/profiles/default/types/Faculty.xml
r199 r200 11 11 <property name="global_allow">True</property> 12 12 <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> 14 16 <property name="allow_discussion">False</property> 15 17 <property name="cps_is_searchable">True</property> 16 <property name="cps_proxy_type"> folder</property>18 <property name="cps_proxy_type">btreefolderishdocument</property> 17 19 <property name="cps_display_as_document_in_listing">True</property> 18 20 <property name="schemas"> … … 30 32 <property name="storage_methods"/> 31 33 <property name="cps_is_portlet">False</property> 34 <alias from="(Default)" to="temporary_view_all"/> 32 35 <alias from="view" to="temporary_view_all"/> 33 36 <action title="Standard View" action_id="view" category="object" … … 37 40 </action> 38 41 <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"/> 42 45 </action> 43 46 <action title="Add Department" action_id="add_department" category="object" … … 52 55 <permission value="University Manage"/> 53 56 </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>59 57 <action title="action_metadata" action_id="metadata" category="object" 60 58 condition_expr="python:member and 'Manager' in member.getRoles()" … … 67 65 <permission value="Modify portal content"/> 68 66 </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> 69 73 </object> -
waeup_product/trunk/profiles/default/types/Jamb.xml
r199 r200 28 28 </property> 29 29 <property name="cps_is_portlet">False</property> 30 <alias from="(Default)" to="temporary_view_all"/> 30 31 <alias from="view" to="temporary_view_all"/> 31 32 <action title="Standard View" action_id="view" category="object" … … 36 37 <action title="action_edit" action_id="edit" category="object" 37 38 condition_expr="" url_expr="string:${object_url}/waeup_edit_form" 38 visible="True"> 39 <permission value="Student Manage"/> 40 </action> 39 visible="True"/> 41 40 <action title="delegate" action_id="localroles" category="object" 42 41 condition_expr="" url_expr="string:${object_url}/folder_localrole_form" … … 46 45 <action title="Add Content" action_id="add_content" category="object" 47 46 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"/> 51 49 <action title="action_metadata" action_id="metadata" category="object" 52 50 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"/> 56 52 </object> -
waeup_product/trunk/profiles/default/types/Student.xml
r199 r200 36 36 <property name="storage_methods"/> 37 37 <property name="cps_is_portlet">False</property> 38 <alias from="(Default)" to="temporary_view_all"/> 38 39 <alias from="view" to="temporary_view_all"/> 39 40 <action title="Standard View" action_id="view" category="object" … … 44 45 <action title="action_metadata" action_id="metadata" category="object" 45 46 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"> 47 48 <permission value="University Manage"/> 48 49 </action> 49 50 <action title="delegate" action_id="localroles" category="object" 50 51 condition_expr="" url_expr="string:${object_url}/folder_localrole_form" 51 visible=" True">52 visible="False"> 52 53 <permission value="Modify portal content"/> 53 54 </action> -
waeup_product/trunk/profiles/default/types/StudentsFolder.xml
r199 r200 11 11 <property name="global_allow">True</property> 12 12 <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> 14 16 <property name="allow_discussion">False</property> 15 17 <property name="cps_is_searchable">True</property> 16 <property name="cps_proxy_type"> folder</property>18 <property name="cps_proxy_type">btreefolder</property> 17 19 <property name="cps_display_as_document_in_listing">True</property> 18 20 <property name="schemas"> … … 22 24 </property> 23 25 <property name="layouts"> 24 <element value=" waeup_common"/>26 <element value="common"/> 25 27 </property> 26 28 <property name="layout_clusters"> … … 30 32 <property name="storage_methods"/> 31 33 <property name="cps_is_portlet">False</property> 34 <alias from="(Default)" to="temporary_view_all"/> 32 35 <alias from="view" to="temporary_view_all"/> 33 36 <action title="Standard View" action_id="view" category="object" -
waeup_product/trunk/profiles/default/types/University.xml
r199 r200 8 8 <property name="product">WAeUP</property> 9 9 <property name="factory">addUniversity</property> 10 <property name="immediate_view">university_view </property>10 <property name="immediate_view">university_view_all</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> 13 13 <property name="allowed_content_types"> 14 <element value="AcademicsFolder"/> 15 <element value="AccoFolder"/> 14 16 <element value="Chat"/> 15 17 <element value="FAQ"/> 16 <element value="CPSCalendar"/> 17 <element value="Forum"/> 18 <element value="Section"/> 18 19 <element value="StudentsFolder"/> 19 <element value="Faculty"/>20 <element value="AccoFolder"/>21 <element value="Section"/>22 <element value="CPSProxyDocument"/>23 20 </property> 24 21 <property name="allow_discussion">False</property> … … 32 29 </property> 33 30 <property name="layouts"> 34 <element value=" waeup_common"/>31 <element value="common"/> 35 32 </property> 36 33 <property name="layout_clusters"> … … 54 51 <action title="action_folder_contents" action_id="contents" category="object" 55 52 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"> 57 54 <permission value="Modify portal content"/> 58 55 </action> 59 56 <action title="action_edit" action_id="edit" category="object" 60 57 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"> 62 59 <permission value="Modify portal content"/> 63 60 </action> 64 61 <action title="action_metadata" action_id="metadata" category="object" 65 62 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"> 67 64 <permission value="Modify portal content"/> 68 65 </action> -
waeup_product/trunk/profiles/default/workflows.xml
r199 r200 2 2 <object name="portal_workflow" meta_type="CPS Workflow Tool"> 3 3 <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"/> 5 8 <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> 7 42 </object> -
waeup_product/trunk/profiles/default/workflows/waeup_section_wf/definition.xml
r199 r200 12 12 <permission-map name="Modify portal content" 13 13 acquired="True"> 14 <permission-role>StudentManager</permission-role> 15 <permission-role>UniversityManager</permission-role> 14 <permission-role>Manager</permission-role> 16 15 </permission-map> 17 16 <permission-map name="View" acquired="True"> … … 26 25 <guard> 27 26 <guard-role>Manager</guard-role> 28 <guard-role>StudentManager</guard-role> 29 <guard-role>UniversityManager</guard-role> 27 <guard-role>SectionManager</guard-role> 30 28 </guard> 31 29 <transition-behavior behavior_id="initial-create"/> … … 38 36 <guard> 39 37 <guard-role>Manager</guard-role> 40 <guard-role>StudentManager</guard-role> 41 <guard-role>UniversityManager</guard-role> 38 <guard-role>SectionManager</guard-role> 42 39 </guard> 43 40 <transition-behavior behavior_id="allow-sub-create"/> … … 50 47 <guard> 51 48 <guard-role>Manager</guard-role> 52 <guard-role>StudentManager</guard-role> 53 <guard-role>UniversityManager</guard-role> 49 <guard-role>SectionManager</guard-role> 54 50 </guard> 55 51 <transition-behavior behavior_id="allow-sub-delete"/> -
waeup_product/trunk/profiles/default/workflows/waeup_student_wf/definition.xml
r199 r200 3 3 title="CPS Workflow Definition" 4 4 state_variable="review_state" 5 initial_state="work" meta_type="CPS Workflow"> 6 <permission>Modify portal content</permission> 5 meta_type="CPS Workflow"> 7 6 <permission>View</permission> 8 7 <state state_id="work" title="Work"> 9 8 <exit-transition transition_id="create_content"/> 10 9 <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> 20 15 </permission-map> 21 16 </state> … … 23 18 new_state="work" trigger="USER" 24 19 before_script="" after_script=""> 25 <description>Intial transition like</description>26 20 27 21 <guard> 28 22 <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> 32 24 </guard> 33 25 <transition-behavior behavior_id="initial-create"/> … … 36 28 title="Create content" new_state="work" 37 29 trigger="USER" before_script="" after_script=""> 38 <description>Allow sub Object Create</description> 39 <action url="" category="">New</action> 30 40 31 <guard> 41 32 <guard-role>Manager</guard-role> 42 <guard-role>S tudentManager</guard-role>43 <guard-role> UniversityManager</guard-role>44 <guard-role>S tudent</guard-role>33 <guard-role>SectionManager</guard-role> 34 <guard-role>SectionReviewer</guard-role> 35 <guard-role>SectionReader</guard-role> 45 36 </guard> 46 37 <transition-behavior behavior_id="allow-sub-create"/> 47 <transition-behavior behavior_id="allow-sub- checkout"/>38 <transition-behavior behavior_id="allow-sub-publishing"/> 48 39 </transition> 49 40 <transition transition_id="cut_copy_paste" 50 title="Cut/Copy/Paste" new_state=" work"41 title="Cut/Copy/Paste" new_state="" 51 42 trigger="USER" before_script="" after_script=""> 52 <action url="" category="">New</action>43 53 44 <guard> 54 45 <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> 57 49 </guard> 50 <transition-behavior behavior_id="allow-sub-move"/> 58 51 <transition-behavior behavior_id="allow-sub-delete"/> 59 <transition-behavior behavior_id="allow-sub-move"/>60 52 <transition-behavior behavior_id="allow-sub-copy"/> 61 53 </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>127 54 </cps-workflow>
Note: See TracChangeset for help on using the changeset viewer.