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

Last change on this file since 16589 was 4117, checked in by Henrik Bettermann, 16 years ago

actions.xml: import only by admin

change upload form

nau: allow editing of sex field

File size: 8.4 KB
Line 
1<?xml version="1.0"?>
2<object name="portal_actions" meta_type="CMF Actions Tool">
3 <action-provider name="portal_membership">
4  <action title="Search Members" action_id="member_view" category="user"
5     condition_expr="member"
6     url_expr="string:${portal_url}/search_members_form" visible="False">
7   <permission>View</permission>
8  </action>
9  <action title="Staff Login" action_id="login_staff" category="student"
10     condition_expr="not: member" url_expr="string:${portal_url}/login_staff"
11     visible="True">
12   <permission>View</permission>
13  </action>
14  <action title="Log out" action_id="logout" category="user"
15     condition_expr="member" url_expr="string:${portal_url}/logout"
16     visible="True">
17   <permission>View</permission>
18  </action>
19  <action title="action_my_preferences" action_id="preferences"
20     category="user"
21     condition_expr="python:member and member.has_role(&quot;Member&quot;)"
22     url_expr="string:${portal_url}/member_view?dirname=members&amp;id=${member}"
23     visible="True">
24   <permission>View</permission>
25  </action>
26  <action title="Log out" action_id="logout_student" category="student"
27     condition_expr="member" url_expr="string:${portal_url}/logout"
28     visible="True"/>
29 </action-provider>
30 <action-provider name="portal_actions">
31  <action title="action_print" action_id="print" category="global_header"
32     condition_expr=""
33     url_expr="string:javascript:if%20(window.print)%20window.print();"
34     visible="False">
35   <permission>View</permission>
36  </action>
37  <action title="Search Portal" action_id="waeup_search" category="global"
38     condition_expr="member" url_expr="string:./waeup_search_form"
39     visible="True">
40   <permission>View</permission>
41  </action>
42  <action title="Import Data" action_id="import" category="global"
43     condition_expr="python:member and member.has_role('Manager') and str(member) == 'admin'" url_expr="string:${portal_url}/import"
44     visible="True">
45   <permission>View</permission>
46  </action>
47  <action title="Directories" action_id="directories" category="global"
48     condition_expr="python:portal.portal_directories.isSectionOfficer()"
49     url_expr="string:${portal_url}/cpsdirectory_view" visible="False">
50   <permission>View</permission>
51  </action>
52  <action title="Portal Members" action_id="members" category="global"
53     condition_expr="python:portal.portal_directories.members.isSectionOfficer()"
54     url_expr="string:${portal_url}/search_members_form" visible="True">
55   <permission>View</permission>
56  </action>
57  <action title="Home" action_id="home" category="navigation"
58     condition_expr="member" url_expr="string:${portal_url}/campus"
59     visible="True">
60   <permission>View</permission>
61  </action>
62  <action title="Academics" action_id="view_academics" category="navigation"
63     condition_expr="member" url_expr="string:${portal_url}/campus/academics"
64     visible="True">
65   <permission>View</permission>
66  </action>
67  <action title="Hostels" action_id="view_accommodation" category="navigation"
68     condition_expr="python:portal.campus.accommodation.isSectionOfficer()"
69     url_expr="string:${portal_url}/campus/accommodation" visible="True">
70   <permission>View</permission>
71  </action>
72  <action title="Students" action_id="view_students" category="navigation"
73     condition_expr="python:portal.campus.students.isStaff()"
74     url_expr="string:${portal_url}/campus/students" visible="True">
75   <permission>View</permission>
76  </action>
77  <action title="PINs" action_id="view_pins" category="navigation"
78     condition_expr="python:portal.campus.pins.isSectionOfficer()"
79     url_expr="string:${portal_url}/campus/pins" visible="True">
80   <permission>View</permission>
81  </action>
82  <action title="Documents" action_id="view_documents" category="navigation"
83     condition_expr="python:portal.campus.documents.isSectionOfficer()"
84     url_expr="string:${portal_url}/campus/documents"
85     visible="True">
86   <permission>View</permission>
87  </action>
88 
89  <action title="Uploads" action_id="view_uploads" category="navigation"
90     condition_expr="python:portal.campus.uploads.isSectionOfficer()"
91     url_expr="string:${portal_url}/campus/uploads"
92     visible="True">
93   <permission>View</permission>
94  </action> 
95 
96  <action title="Contact" action_id="contact_admin" category="navigation"
97     condition_expr="member"
98     url_expr="string:${portal_url}/contact_admin_form" visible="True">
99   <permission>View</permission>
100  </action>
101  <action title="Enquiries" action_id="support_anon"
102     category="student_navigation" condition_expr="not:member"
103     url_expr="string:${portal_url}/contact_admin_form" visible="True">
104   <permission>View</permission>
105  </action>
106  <action title="Enquiries" action_id="support" category="student_navigation"
107     condition_expr="member" url_expr="string:${portal_url}/support_form"
108     visible="True">
109   <permission>View</permission>
110  </action>
111  <action title="Unchecked Items" action_id="unchecked" category="object"
112     condition_expr="python:member and 'academics' in object_url"
113     url_expr="string:./unchecked" visible="True">
114   <permission>Modify portal content</permission>
115  </action>
116  <action title="PCE Screening Test" action_id="apply_pce_admission"
117     category="student" condition_expr="not:member"
118     url_expr="string:${portal_url}/apply_admission/pce" visible="False">
119   <permission>View</permission>
120  </action>
121  <action title="PRE-NCE Application" action_id="apply_prence_admission"
122     category="student" condition_expr="not:member"
123     url_expr="string:${portal_url}/apply_admission/prence" visible="False">
124   <permission>View</permission>
125  </action>
126  <action title="Check Admission 06/07" action_id="check_admission"
127     category="student" condition_expr="not:member"
128     url_expr="string:${portal_url}/check_admission" visible="False">
129   <permission>View</permission>
130  </action>
131  <action title="Change Password" action_id="change_password"
132     category="student" condition_expr="member"
133     url_expr="string:${portal_url}/change_password" visible="True">
134   <permission>View</permission>
135  </action>
136  <action title="Home" action_id="students_home" category="student_navigation"
137     condition_expr="not:member" url_expr="string:${portal_url}"
138     visible="True">
139   <permission>View</permission>
140  </action>
141  <action title="Prospectus" action_id="prospectus"
142     category="student_navigation" condition_expr="member"
143     url_expr="string:${portal_url}/campus/academics" visible="True">
144   <permission>View</permission>
145  </action>
146  <action title="My Study" action_id="registration"
147     category="student_navigation" condition_expr="member"
148     url_expr="string:${portal_url}/campus/students" visible="True">
149   <permission>View</permission>
150  </action>
151  <action title="My Accommodation" action_id="reserve_accommodation"
152     category="student_navigation" condition_expr="member"
153     url_expr="string:${portal_url}/campus/students/${member}/reserve_accommodation" visible="True"/>
154  <action title="My Payments" action_id="payments"
155     category="student_navigation" condition_expr="member"
156     url_expr="string:${portal_url}/campus/students/${member}/payments"
157     visible="True"/>
158  <action title="Register Courses" action_id="register_courses"
159     category="student" condition_expr="member"
160     url_expr="string:${portal_url}/register_courses" visible="False"/>
161  <action title="Request Transfer" action_id="request_transfer"
162     category="student"
163     condition_expr="python: here.isStudent() and here.getStudentWorkflowInfo()['tr']"
164     url_expr="string:${portal_url}/request_transfer" visible="False"/>
165 </action-provider>
166 <action-provider name="portal_registration">
167  <action title="Join" action_id="join" category="user"
168     condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
169     url_expr="string:${portal_url}/join_form" visible="True">
170   <permission>Add portal member</permission>
171  </action>
172 </action-provider>
173 <action-provider name="portal_workflow"/>
174 <action-provider name="portal_properties">
175  <action title="Portal Base Data" action_id="configPortal"
176     category="global" condition_expr=""
177     url_expr="string:${portal_url}/config_form" visible="True">
178   <permission>Manage portal</permission>
179  </action>
180 </action-provider>
181 <action-provider name="portal_types"/>
182</object>
Note: See TracBrowser for help on using the repository browser.