Answers.Body: <p>On our site we simply created a new rule, and chose the 'Unsupervised' option when creating it.</p>
  
  <p><a href="https://i.sstatic.net/6X2W2.png" rel="noreferrer"><img src="https://i.sstatic.net/6X2W2.png" alt="enter image description here"></a></p>
  
  <p>That creates the rule, and marks it as the default 'Unsupervised' one. The old default is downgraded to a 'General' rule. If it was a built-in rule then it stays 'reserved' so you can't edit it.</p>
  
  <p>I don't think there's any need to delete them, or fiddle in the database =]</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-10T15:12:28.777Z
Answers.LastActivityDate: 2015-09-10T15:12:28.777Z
Answers.UserDisplayName: John
Body: <p>In some of my CiviCRM database, i have contacts who share the same email.
  I don't want people to modify the wrong contact when filling a public anonymous form.</p>
  
  <p>To avoid that, I'd like the unsupervised dedupe rule for individual to be Email + First Name.</p>
  
  <p>When i go to the UI (<code>/civicrm/contact/deduperules?reset=1&amp;action=browse</code>) i see it's not possible to change the default rule.
  Is there any problem to expect if i disable the default rule in the database by setting <code>is_active = 0</code> and create a new unsupervised rule ?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I see there is no <code>is_active</code> field so i guess i will have to either delete, either changed it to a <code>General</code> type of rule. </p>
  
  <p>The question is the same - is there any problem to expect ?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-10T19:32:10.240Z
Comments.Text: On top of @John's answer, I recommend this great post: https://civicrm.org/blogs/spidersilk/understanding-civicrm-dedupe-rules
Comments.UserDisplayName: Andrei
Tags: <duplicate-contacts>
Title: How to modify unsupervised dedupe rule
ThreadText: # How to modify unsupervised dedupe rule
  
  (Asked by: username_0 on 2015-09-10)
  
  In some of my CiviCRM database, i have contacts who share the same email.
  I don't want people to modify the wrong contact when filling a public anonymous form.
  
  To avoid that, I'd like the unsupervised dedupe rule for individual to be Email + First Name.
  
  When i go to the UI (`/civicrm/contact/deduperules?reset=1&action=browse`) i see it's not possible to change the default rule.
  Is there any problem to expect if i disable the default rule in the database by setting `is_active = 0` and create a new unsupervised rule ?
  
  **EDIT**
  
  I see there is no `is_active` field so i guess i will have to either delete, either changed it to a `General` type of rule.
  
  The question is the same - is there any problem to expect ?
  
  **Tags:** duplicate-contacts
  
  > **Comments:**
  > **username_1**: On top of @username_2's answer, I recommend this great post: https://civicrm.org/blogs/spidersilk/understanding-civicrm-dedupe-rules  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-09-10. Score: 6 | Accepted answer
  
  On our site we simply created a new rule, and chose the 'Unsupervised' option when creating it.
  
  [![enter image description here](https://i.sstatic.net/6X2W2.png)](https://i.sstatic.net/6X2W2.png)
  
  That creates the rule, and marks it as the default 'Unsupervised' one. The old default is downgraded to a 'General' rule. If it was a built-in rule then it stays 'reserved' so you can't edit it.
  
  I don't think there's any need to delete them, or fiddle in the database =]
  
  
  ---
  
  