<?xml version="1.0"?>
<registry>

  <record name="ploneintranet.userprofile.hidden_fields">
    <field type="plone.registry.field.Tuple">
      <title>Hidden fields</title>
      <description>
        User profile fields that are hidden from the profile editing page
      </description>
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value>
    </value>
  </record>

  <record name="ploneintranet.userprofile.property_sheet_mapping">
    <field type="plone.registry.field.Dict">
      <title>Property sheet mapping</title>
      <description>
        A mapping of a user property to a specific property sheet which
	should be used to obtain the data for this attribute.
      </description>
      <key_type type="plone.registry.field.ASCII" />
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value>
    </value>
  </record>

  <record name="ploneintranet.userprofile.primary_external_user_source">
    <field type="plone.registry.field.ASCIILine">
      <title>Primary External User Source</title>
      <description>
        The ID of the PAS plugin that will be treated as the primary source of external users.
      </description>
    </field>
    <value />
  </record>

  <record name="ploneintranet.userprofile.read_only_fields">
    <field type="plone.registry.field.Tuple">
      <title>Read only fields</title>
      <description>
        User profile fields that are read-only
        (shown on profile editing page but not editable)
      </description>
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value>
      <element>username</element>
    </value>
  </record>

  <record name="ploneintranet.userprofile.locations">
    <field type="plone.registry.field.Tuple">
      <title>Hidden fields</title>
      <description>
        User profile fields that are hidden from the profile editing page
      </description>
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value>
      <element>London</element>
      <element>Amsterdam</element>
      <element>Berlin</element>
      <element>Paris</element>
      <element>New York</element>
    </value>
  </record>

  <!-- By default we use usernames to login -->
  <record name="dexterity.membrane.behavior.settings.IDexterityMembraneSettings.use_email_as_username">
    <field type="plone.registry.field.Bool">
    </field>
    <value>False</value>
  </record>

  <!-- By default we use username as userid for compatibility with external
       auth systems e.g. LDAP/AD -->
  <record name="dexterity.membrane.behavior.settings.IDexterityMembraneSettings.use_uuid_as_userid">
    <field type="plone.registry.field.Bool">
    </field>
    <value>False</value>
  </record>

  <record interface="Products.CMFPlone.interfaces.controlpanel.ISecuritySchema"
          name="plone.use_email_as_login">
    <value>False</value>
  </record>

</registry>
