Changeset 953 for WAeUP_SRP/trunk/profiles
- Timestamp:
- 27 Nov 2006, 22:03:04 (18 years ago)
- Location:
- WAeUP_SRP/trunk/profiles/default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/actions.xml
r945 r953 32 32 category="user" 33 33 condition_expr="python:member and member.has_role("Member")" 34 url_expr="string:${portal_url}/ cpsdirectory_entry_view?dirname=members&id=${member}"34 url_expr="string:${portal_url}/member_view?dirname=members&id=${member}" 35 35 visible="True"> 36 36 <permission>View</permission> … … 93 93 </action> 94 94 <action title="Directories" action_id="directories" category="global" 95 condition_expr=" python:not portal.portal_membership.isAnonymousUser()"96 url_expr="string:${portal_url}/cpsdirectory_view" visible=" False">95 condition_expr="here/isSectionManager" 96 url_expr="string:${portal_url}/cpsdirectory_view" visible="True"> 97 97 <permission>Modify portal content</permission> 98 98 </action> -
WAeUP_SRP/trunk/profiles/default/layouts/members.xml
r916 r953 32 32 </property> 33 33 <property name="is_required">True</property> 34 <property name="label"> label_email</property>35 <property name="label_edit"> label_email</property>36 <property name="description"> Member email</property>34 <property name="label">Email</property> 35 <property name="label_edit">Email</property> 36 <property name="description"></property> 37 37 <property name="is_i18n">True</property> 38 38 <property name="size_max">0</property> … … 42 42 <element value="fullname"/> 43 43 </property> 44 <property name="label"> label_full_name</property>45 <property name="label_edit"> label_full_name</property>46 <property name="description"> Member full name</property>44 <property name="label">Full Name</property> 45 <property name="label_edit">Full Name</property> 46 <property name="description"></property> 47 47 <property name="is_i18n">True</property> 48 48 <property name="hidden_layout_modes"> … … 56 56 <element value="givenName"/> 57 57 </property> 58 <property name="label"> label_first_name</property>59 <property name="label_edit"> label_first_name</property>60 <property name="description"> Member first name</property>58 <property name="label">First Name</property> 59 <property name="label_edit">First Name</property> 60 <property name="description"></property> 61 61 <property name="is_i18n">True</property> 62 62 </widget> … … 65 65 <element value="groups"/> 66 66 </property> 67 <property name="label"> label_groups</property>68 <property name="label_edit"> label_groups</property>69 <property name="description"> Member groups</property>67 <property name="label">Groups</property> 68 <property name="label_edit">Groups</property> 69 <property name="description"></property> 70 70 <property name="is_i18n">True</property> 71 71 <property name="vocabulary">groups</property> … … 89 89 </property> 90 90 <property name="is_required">True</property> 91 <property name="label"> label_user_name</property>92 <property name="label_edit"> label_user_name</property>93 <property name="description"> Member login</property>91 <property name="label">User Name</property> 92 <property name="label_edit">User Name</property> 93 <property name="description"></property> 94 94 <property name="is_i18n">True</property> 95 95 <property name="readonly_layout_modes"> … … 116 116 <property name="size_max">0</property> 117 117 </widget> 118 <widget name="roles" meta_type="Generic MultiSelect Widget"> 119 <property name="fields"> 120 <element value="roles"/> 121 </property> 122 <property name="label">label_roles</property> 123 <property name="label_edit">label_roles</property> 124 <property name="description">Member roles</property> 125 <property name="is_i18n">True</property> 126 <property name="vocabulary">global_roles</property> 127 <property name="translated">True</property> 128 <property name="render_format">checkbox</property> 129 </widget> 118 <widget name="roles" meta_type="Generic MultiSelect Widget"> 119 <property name="fields"> 120 <element value="roles"/> 121 </property> 122 <property name="label">Roles</property> 123 <property name="label_edit">Roles</property> 124 <property name="description"></property> 125 <property name="is_i18n">True</property> 126 <property name="readonly_layout_modes"/> 127 <property name="hidden_layout_modes"/> 128 <property name="hidden_readonly_layout_modes"/> 129 <property name="hidden_if_expr">not: context/isSectionManager</property> 130 <property name="vocabulary">global_roles</property> 131 <property name="translated">True</property> 132 <property name="render_format">checkbox</property> 133 </widget> 130 134 <widget name="sn" meta_type="String Widget"> 131 135 <property name="fields"> … … 133 137 </property> 134 138 <property name="is_required">True</property> 135 <property name="label"> label_last_name</property>136 <property name="label_edit"> label_last_name</property>137 <property name="description"> Member last name</property>139 <property name="label">Last Name</property> 140 <property name="label_edit">Last Name</property> 141 <property name="description"></property> 138 142 <property name="is_i18n">True</property> 139 143 </widget> -
WAeUP_SRP/trunk/profiles/default/schemas/members.xml
r910 r953 6 6 </field> 7 7 <field name="email" meta_type="CPS String Field"> 8 <property name="acl_write_roles">Manager; Owner </property>8 <property name="acl_write_roles">Manager; Owner; SectionOfficer</property> 9 9 </field> 10 10 <field name="fullname" meta_type="CPS String Field"> … … 21 21 </field> 22 22 <field name="givenName" meta_type="CPS String Field"> 23 <property name="acl_write_roles">Manager; Owner </property>23 <property name="acl_write_roles">Manager; Owner; SectionOfficer</property> 24 24 </field> 25 25 <field name="groups" meta_type="CPS String List Field"> 26 <property name="acl_write_roles">Manager </property>26 <property name="acl_write_roles">Manager; SectionOfficer</property> 27 27 </field> 28 28 <field name="homeless" meta_type="CPS Int Field"> 29 29 <property name="default_expr">python: 1</property> 30 <property name="acl_write_roles">Manager </property>30 <property name="acl_write_roles">Manager; SectionOfficer</property> 31 31 </field> 32 32 <field name="id" meta_type="CPS String Field"/> 33 33 <field name="password" meta_type="CPS Password Field"> 34 <property name="acl_write_roles">Manager; Owner </property>34 <property name="acl_write_roles">Manager; Owner; SectionOfficer</property> 35 35 </field> 36 36 <field name="roles" meta_type="CPS String List Field"> … … 39 39 </field> 40 40 <field name="sn" meta_type="CPS String Field"> 41 <property name="acl_write_roles">Manager; Owner </property>41 <property name="acl_write_roles">Manager; Owner; SectionOfficer</property> 42 42 </field> 43 43 </object>
Note: See TracChangeset for help on using the changeset viewer.