Last change
on this file since 1397 was
952,
checked in by joachim, 18 years ago
|
loading of cps_portlets by generic_setup
|
File size:
1.2 KB
|
Rev | Line | |
---|
[933] | 1 | <?xml version="1.0"?> |
---|
[952] | 2 | <object name="students" meta_type="CPS ZODB Directory" purge="True"> |
---|
[933] | 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="search_substring_fields"> |
---|
| 17 | <element value="id"/> |
---|
| 18 | <element value="sn"/> |
---|
| 19 | <element value="givenName"/> |
---|
| 20 | <element value="email"/> |
---|
| 21 | </property> |
---|
| 22 | <property name="is_hierarchical">False</property> |
---|
| 23 | <property name="password_field">password</property> |
---|
| 24 | <entry-local-role |
---|
| 25 | role="Owner">python:entry.get('id') == user_id</entry-local-role> |
---|
| 26 | <cache-manager name="dir_ramcache"/> |
---|
| 27 | </object> |
---|
Note: See
TracBrowser for help on using the repository browser.