source: WAeUP_SRP/trunk/profiles/default/directories/students.xml @ 946

Last change on this file since 946 was 933, checked in by joachim, 18 years ago

added a students directory,
students are now put in this directory
all other members remain in members
waeup_stacking_dir handles this

File size: 1.2 KB
Line 
1<?xml version="1.0"?>
2<object name="students" meta_type="CPS ZODB Directory">
3 <property name="title">Students</property>
4 <property name="schema">members</property>
5 <property name="schema_search">members_search</property>
6 <property name="layout">members</property>
7 <property name="layout_search">members_search</property>
8 <property name="acl_directory_view_roles">Manager; Member</property>
9 <property name="acl_entry_create_roles">Manager</property>
10 <property name="acl_entry_delete_roles">Manager</property>
11 <!-- switch back to Owner instead of Member once searchEntries will be
12      able to check ACLs -->
13 <property name="acl_entry_view_roles">Manager; Member</property>
14 <property name="acl_entry_edit_roles">Manager; Owner</property>
15 <property name="id_field">id</property>
16 <property name="title_field">fullname</property>
17 <property name="search_substring_fields">
18  <element value="id"/>
19  <element value="sn"/>
20  <element value="givenName"/>
21  <element value="email"/>
22 </property>
23 <property name="is_hierarchical">False</property>
24 <property name="password_field">password</property>
25 <entry-local-role
26    role="Owner">python:entry.get('id') == user_id</entry-local-role>
27 <cache-manager name="dir_ramcache"/>
28</object>
Note: See TracBrowser for help on using the repository browser.