Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <object name="members" meta_type="CPS ZODB Directory"> |
---|
3 | <property name="title">label_members</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;SectionOfficer; Member</property> |
---|
9 | <property name="acl_entry_create_roles">Manager;SectionOfficer</property> |
---|
10 | <property name="acl_entry_delete_roles">Manager;SectionOfficer</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;SectionOfficer; Member</property> |
---|
14 | <property name="acl_entry_edit_roles">Manager;SectionOfficer; 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.