source: WAeUP_SRP/trunk/profiles/default/actions.xml @ 1227

Last change on this file since 1227 was 1221, checked in by Henrik Bettermann, 18 years ago

rolemap changed
condition for actions changed
delegetion of roles in students folder disabled

  • Property svn:keywords set to Id
File size: 10.3 KB
RevLine 
[293]1<?xml version="1.0"?>
2<object name="portal_actions" meta_type="CMF Actions Tool">
3 <action-provider name="portal_membership">
[818]4  <action title="Search Members" action_id="member_view" category="user"
5     condition_expr="member"
[937]6     url_expr="string:${portal_url}/search_members_form" visible="False">
[818]7   <permission>View</permission>
8  </action>
[781]9  <action title="Student Login" action_id="login" category="user"
[560]10     condition_expr="not: member"
[983]11     url_expr="string:${portal_url}/login_student" visible="True">
[560]12   <permission>View</permission>
13  </action>
[544]14  <action title="Staff Login" action_id="login_staff" category="student"
[1221]15     condition_expr="not: member" url_expr="string:${portal_url}/login_staff"
[980]16     visible="True">
[293]17   <permission>View</permission>
18  </action>
19  <action title="Log out" action_id="logout" category="user"
20     condition_expr="member" url_expr="string:${portal_url}/logout"
21     visible="True">
22   <permission>View</permission>
23  </action>
24  <action title="My stuff" action_id="mystuff" category="user"
25     condition_expr="python: member and portal.portal_membership.getHomeFolder()"
26     url_expr="string:${portal/portal_membership/getHomeUrl}/folder_contents"
27     visible="True">
28   <permission>View</permission>
29  </action>
30  <action title="action_my_preferences" action_id="preferences"
31     category="user"
32     condition_expr="python:member and member.has_role(&quot;Member&quot;)"
[953]33     url_expr="string:${portal_url}/member_view?dirname=members&amp;id=${member}"
[293]34     visible="True">
35   <permission>View</permission>
36  </action>
[543]37  <action title="Student Login" action_id="login_student" category="student"
[1221]38     condition_expr="not:member" url_expr="string:${portal_url}/login_student"
[983]39     visible="True">
[508]40   <permission>View</permission>
41  </action>
[544]42  <action title="Log out" action_id="logout_student" category="student"
[508]43     condition_expr="member" url_expr="string:${portal_url}/logout"
44     visible="True"/>
[293]45 </action-provider>
46 <action-provider name="portal_actions">
47  <action title="action_portlets" action_id="portlets" category="folder"
48     condition_expr="member"
49     url_expr="string:${folder_url}/portlet_manage_form" visible="True">
50   <permission>Manage Portlets</permission>
51  </action>
52  <action title="action_accessibility" action_id="accessibility"
53     category="global_header" condition_expr=""
[300]54     url_expr="string:${portal_url}/accessibility" visible="False">
[293]55   <permission>View</permission>
56  </action>
57  <action title="action_print" action_id="print" category="global_header"
58     condition_expr=""
59     url_expr="string:javascript:if%20(window.print)%20window.print();"
[300]60     visible="False">
[293]61   <permission>View</permission>
62  </action>
63  <action title="action_advanced_search" action_id="advanced_search"
64     category="global_header" condition_expr=""
65     url_expr="string:./advanced_search_form" visible="True">
66   <permission>View</permission>
67  </action>
68  <action title="action_contact" action_id="contact" category="global_header"
69     condition_expr=""
70     url_expr="string:mailto:${portal/portal_properties/email_from_address}?subject=Info"
[300]71     visible="False">
[293]72   <permission>View</permission>
73  </action>
74  <action title="action_manage_vocabularies" action_id="manage_vocabularies"
75     category="global" condition_expr=""
[300]76     url_expr="string:${portal_url}/vocabularies_manage_form" visible="False">
[293]77   <permission>Modify portal content</permission>
78  </action>
79  <action title="action_add_favorites" action_id="add_favorites"
80     category="user"
81     condition_expr="python: member and portal.portal_membership.getHomeFolder()"
82     url_expr="string:${object/absolute_url}/addtoFavorites" visible="False">
83   <permission>View</permission>
84  </action>
85  <action title="action_view_favorites" action_id="view_favorites"
86     category="user"
87     condition_expr="python: hasattr(portal.portal_membership.getHomeFolder(),&quot;Favorites&quot;)"
88     url_expr="string:${portal/portal_membership/getHomeUrl}/Favorites"
89     visible="False">
90   <permission>View</permission>
91  </action>
92  <action title="Directories" action_id="directories" category="global"
[1221]93     condition_expr="python:portal.portal_directories.isSectionOfficer()"
[953]94     url_expr="string:${portal_url}/cpsdirectory_view" visible="True">
[1221]95   <permission>View</permission>
[293]96  </action>
[621]97  <action title="Portal Members" action_id="members" category="global"
[1221]98     condition_expr="python:portal.portal_directories.members.isSectionOfficer()"
99     url_expr="string:${portal_url}/search_members_form"
100     visible="True">
101   <permission>View</permission>
[624]102  </action>
[341]103  <action title="Home" action_id="home" category="navigation"
[1221]104     condition_expr="member" url_expr="string:${portal_url}/campus"
105     visible="True">
[338]106   <permission>View</permission>
107  </action>
[293]108  <action title="Academics" action_id="view_academics" category="navigation"
[508]109     condition_expr="member" url_expr="string:${portal_url}/campus/academics"
[293]110     visible="True">
111   <permission>View</permission>
112  </action>
[818]113  <action title="Hostels" action_id="view_accommodation" category="navigation"
[941]114     condition_expr="python:portal.campus.accommodation.isSectionOfficer()"
[624]115     url_expr="string:${portal_url}/campus/accommodation" visible="True">
[293]116   <permission>View</permission>
117  </action>
[300]118  <action title="Students" action_id="view_students" category="navigation"
[1221]119     condition_expr="python:portal.campus.students.isStaff()"
[937]120     url_expr="string:${portal_url}/campus/students" visible="True">
[874]121   <permission>View</permission>
[300]122  </action>
[543]123  <action title="PINs" action_id="view_pins" category="navigation"
[937]124     condition_expr="python:portal.campus.pins.isSectionOfficer()"
125     url_expr="string:${portal_url}/campus/pins" visible="True">
126   <permission>View</permission>
[560]127  </action>
[890]128  <action title="Contact" action_id="contact_admin" category="navigation"
[937]129     condition_expr="member"
130     url_expr="string:${portal_url}/contact_admin_form" visible="True">
[820]131   <permission>View</permission>
[824]132  </action>
[1221]133  <action title="Enquiries" action_id="support_anon"
134     category="student_navigation" condition_expr="not:member"
135     url_expr="string:${portal_url}/contact_admin_form" visible="True">
[977]136   <permission>View</permission>
137  </action>
[942]138  <action title="Enquiries" action_id="support" category="student_navigation"
[977]139     condition_expr="member" url_expr="string:${portal_url}/support_form"
[937]140     visible="True">
[824]141   <permission>View</permission>
[980]142  </action>
[501]143  <action title="Unchecked Items" action_id="unchecked" category="object"
[656]144     condition_expr="python:member and 'academics' in object_url"
[640]145     url_expr="string:./unchecked" visible="True">
[321]146   <permission>Modify portal content</permission>
147  </action>
[503]148  <action title="  " action_id="dummy" category="student_object"
149     condition_expr="" url_expr="" visible="True"/>
150  <action title="  " action_id="dummy2" category="object" condition_expr=""
151     url_expr="" visible="True"/>
[781]152  <action title="Apply for PUME" action_id="apply_admission"
[508]153     category="student" condition_expr="not:member"
[818]154     url_expr="string:${portal_url}/apply_admission" visible="False">
[781]155   <permission>View</permission>
156  </action>
[1115]157  <action title="View PUME Results" action_id="display_pume_results"
[781]158     category="student" condition_expr="not:member"
[1115]159     url_expr="string:${portal_url}/display_pume_results" visible="True">
[508]160   <permission>View</permission>
161  </action>
[1115]162  <action title="View PDE Results" action_id="display_pde_results"
163     category="student" condition_expr="not:member"
164     url_expr="string:${portal_url}/display_pde_results" visible="True">
165   <permission>View</permission>
166  </action>
[977]167  <action title="Check Adm. Details" action_id="check_admission"
[766]168     category="student" condition_expr="not:member"
[975]169     url_expr="string:${portal_url}/check_admission" visible="True">
[785]170   <permission>View</permission>
[766]171  </action>
[1160]172  <action title="View Sess. Results" action_id="display_session_results"
[1159]173     category="student" condition_expr="not:member"
174     url_expr="string:${portal_url}/display_session_results" visible="True">
175   <permission>View</permission>
[1160]176  </action>
[849]177  <action title="My Accommodation" action_id="reserve_accommodation"
178     category="student_navigation" condition_expr="member"
[818]179     url_expr="string:${portal_url}/reserve_accommodation" visible="True"/>
[759]180  <action title="Register Courses" action_id="register_courses"
181     category="student" condition_expr="member"
[818]182     url_expr="string:${portal_url}/register_courses" visible="False"/>
[542]183  <action title="Home" action_id="students_home" category="student_navigation"
[973]184     condition_expr="" url_expr="string:${portal_url}" visible="True">
[508]185   <permission>View</permission>
186  </action>
187  <action title="Prospectus" action_id="prospectus"
188     category="student_navigation" condition_expr="member"
189     url_expr="string:${portal_url}/campus/academics" visible="True">
190   <permission>View</permission>
191  </action>
[656]192  <action title="My Study" action_id="registration"
[508]193     category="student_navigation" condition_expr="member"
194     url_expr="string:${portal_url}/campus/students" visible="True">
195   <permission>View</permission>
196  </action>
[293]197 </action-provider>
198 <action-provider name="portal_registration">
199  <action title="Join" action_id="join" category="user"
200     condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
201     url_expr="string:${portal_url}/join_form" visible="True">
202   <permission>Add portal member</permission>
203  </action>
204 </action-provider>
205 <action-provider name="portal_themes">
206  <action title="_action_themes_reconfig_" action_id="configThemes"
207     category="global"
208     condition_expr="python: member and portal.portal_membership.checkPermission('Manage Themes', portal.portal_themes)"
209     url_expr="string:${portal_url}/cpsskins_themes_reconfig_form"
210     visible="True">
211   <permission>View</permission>
212  </action>
213 </action-provider>
214 <action-provider name="portal_types"/>
215 <action-provider name="portal_syndication"/>
216 <action-provider name="portal_workflow"/>
217 <action-provider name="portal_properties">
218  <action title="Reconfigure Portal" action_id="configPortal"
219     category="global" condition_expr=""
220     url_expr="string:${portal_url}/config_form" visible="True">
221   <permission>Manage portal</permission>
222  </action>
223 </action-provider>
[937]224</object>
Note: See TracBrowser for help on using the repository browser.