Last change
on this file since 14312 was
1432,
checked in by Henrik Bettermann, 18 years ago
|
acl edit roles in directories changed
|
File size:
1.3 KB
|
Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <object name="students" meta_type="CPS ZODB Directory" purge="True"> |
---|
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">SectionOfficer; Manager; Member</property> |
---|
9 | <property name="acl_entry_create_roles">SectionOfficer; Manager</property> |
---|
10 | <property name="acl_entry_delete_roles">SectionOfficer; 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">SectionOfficer; Manager; Member</property> |
---|
14 | <property name="acl_entry_edit_roles">SectionOfficer; 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.