- Timestamp:
- 22 Nov 2006, 16:54:23 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/exportimport.py
r922 r924 77 77 pm.setLocalGroupRoles(campus.students,['group:ClearanceOfficers', 78 78 'role:Student',],'SectionReader') 79 pm.setLocalGroupRoles(campus.academics,[' Authenticated',79 pm.setLocalGroupRoles(campus.academics,['role:Authenticated', 80 80 ],'SectionReader') 81 81 importWAeUPTable(site.portal_accommodation, '', context,'accommodation') -
WAeUP_SRP/trunk/profiles/default/actions.xml
r901 r924 4 4 <action title="Search Members" action_id="member_view" category="user" 5 5 condition_expr="member" 6 url_expr="string:${portal_url}/ cpsdirectory_entry_search_form?dirname=members"6 url_expr="string:${portal_url}/search_members_form" 7 7 visible="False"> 8 8 <permission>View</permission> … … 100 100 <action title="Portal Members" action_id="members" category="global" 101 101 condition_expr="member" 102 url_expr="string:${portal_url}/ cpsdirectory_entry_search_form?dirname=members"102 url_expr="string:${portal_url}/search_members_form" 103 103 visible="True"> 104 104 <permission>Modify portal content</permission> -
WAeUP_SRP/trunk/profiles/default/layouts/members_search.xml
r916 r924 45 45 <table> 46 46 <row> 47 <cell name="id" ncols="2"/>48 </row>49 <row>50 47 <cell name="givenName"/> 51 48 <cell name="sn"/> -
WAeUP_SRP/trunk/skins/waeup_custom/getCPSCandidateLocalRoles.py
r919 r924 20 20 21 21 22 #returnmtool.getCPSCandidateLocalRoles(context)22 allowed_roles = mtool.getCPSCandidateLocalRoles(context) 23 23 24 24 25 if member.id == 'admin'26 return ['SectionReader','SectionManager','ClearanceOfficer', 'SectionOfficer']25 if member.id in ("admin","perry"): 26 return ['SectionReader','SectionManager','ClearanceOfficer', 'SectionOfficer'] 27 27 return ['ClearanceOfficer', 'SectionOfficer'] -
WAeUP_SRP/trunk/skins/waeup_directory/layout_waeup_dir_view.pt
r916 r924 1 1 <tal:block define="layout options/layout; 2 dirname request/dirname;2 dirname string:members; 3 3 dir here/portal_directories/?dirname; 4 4 id_field dir/id_field; -
WAeUP_SRP/trunk/skins/waeup_directory/search_members.py
r917 r924 24 24 mapping[key] = value 25 25 26 result_fields = context.getDirectoryResultFields(dir.getId(), 27 dir.title_field) 26 #result_fields = context.getDirectoryResultFields(dir.getId(), 27 # dir.title_field) 28 result_fields = [{'id': 'sn', 'title': 'label_last_name', 'sort': 'asc'}, 29 {'id': 'givenName', 'title': 'label_first_name'}, 30 {'id': 'email', 'title': 'label_email'}, 31 #{'id': id_field, 'title': 'label_user_name'}, 32 ] 28 33 29 34 return_fields = []
Note: See TracChangeset for help on using the changeset viewer.