- Timestamp:
- 7 Jan 2007, 10:47:01 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/exportimport.py
r1151 r1221 85 85 students.manage_setLocalGroupRoles(groupid = 'ClearanceOfficers', 86 86 roles=('SectionReader',)) 87 students.manage_setLocalGroupRoles(groupid='MemberAdmins', 88 roles=('SectionOfficer',)) 87 89 students.manage_setLocalGroupRoles(groupid = 'role:Student', 88 90 roles=('SectionReader',)) 89 91 if accommodation is not None: 90 92 accommodation.manage_setLocalGroupRoles(groupid='role:Student', 91 roles=('SectionReader',)) 93 roles=('SectionReader',)) 92 94 members = getattr(site.portal_directories,'members') 93 95 if members is not None: -
WAeUP_SRP/trunk/profiles/default/actions.xml
r1197 r1221 13 13 </action> 14 14 <action title="Staff Login" action_id="login_staff" category="student" 15 condition_expr="not: member" 16 url_expr="string:${portal_url}/login_staff" 15 condition_expr="not: member" url_expr="string:${portal_url}/login_staff" 17 16 visible="True"> 18 17 <permission>View</permission> … … 37 36 </action> 38 37 <action title="Student Login" action_id="login_student" category="student" 39 condition_expr="not:member" 40 url_expr="string:${portal_url}/login_student" 38 condition_expr="not:member" url_expr="string:${portal_url}/login_student" 41 39 visible="True"> 42 40 <permission>View</permission> … … 93 91 </action> 94 92 <action title="Directories" action_id="directories" category="global" 95 condition_expr=" here/isSectionManager"93 condition_expr="python:portal.portal_directories.isSectionOfficer()" 96 94 url_expr="string:${portal_url}/cpsdirectory_view" visible="True"> 97 <permission> Modify portal content</permission>95 <permission>View</permission> 98 96 </action> 99 97 <action title="Portal Members" action_id="members" category="global" 100 condition_expr="member" 101 url_expr="string:${portal_url}/search_members_form" visible="True"> 102 <permission>Modify portal content</permission> 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> 103 102 </action> 104 103 <action title="Home" action_id="home" category="navigation" 105 condition_expr="member" url_expr="string:${portal_url}/campus" visible="True"> 104 condition_expr="member" url_expr="string:${portal_url}/campus" 105 visible="True"> 106 106 <permission>View</permission> 107 107 </action> … … 117 117 </action> 118 118 <action title="Students" action_id="view_students" category="navigation" 119 condition_expr=" member"119 condition_expr="python:portal.campus.students.isStaff()" 120 120 url_expr="string:${portal_url}/campus/students" visible="True"> 121 121 <permission>View</permission> … … 131 131 <permission>View</permission> 132 132 </action> 133 <action title="Enquiries" action_id="support_anon" category="student_navigation"134 c ondition_expr="not:member" url_expr="string:${portal_url}/contact_admin_form"135 visible="True">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"> 136 136 <permission>View</permission> 137 137 </action> -
WAeUP_SRP/trunk/profiles/default/rolemap.xml
r977 r1221 43 43 <role name="SectionOfficer"/> 44 44 </permission> 45 <permission name="Add portal members" acquire="True"> 46 <role name="SectionManager"/> 47 <role name="SectionOfficer"/> 48 </permission> 45 49 <permission name="Review portal content" acquire="True"> 46 50 <role name="Owner"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentsFolder.xml
r1153 r1221 43 43 <action title="Delegate" action_id="localroles" category="object" 44 44 condition_expr="here/isSectionOfficer" url_expr="string:${object_url}/folder_localrole_form" 45 visible=" True">45 visible="False"> 46 46 <permission value="Modify portal content"/> 47 47 </action> -
WAeUP_SRP/trunk/skins/waeup_student/getMemberInfo.py
r1220 r1221 45 45 info['per_doc'] = student.personal.getContent() 46 46 info['app_doc'] = student.personal.getContent() 47 #info['password'] = member.getPassword() 47 48 return info
Note: See TracChangeset for help on using the changeset viewer.