Answers.Body: <p>The link is missing checksum parameter(cs). It should be </p>
  
  <p><a href="https://example.com/civicrm/profile/edit?gid=48&amp;id=8949&amp;cs=11e24e6f361dceacd63ea0120b00c871&amp;reset=1" rel="nofollow noreferrer">https://example.com/civicrm/profile/edit?gid=48&amp;id=8949&amp;cs=11e24e6f361dceacd63ea0120b00c871&amp;reset=1</a></p>
  
  <p>Thanks</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-26T22:48:37.820Z
Answers.Text: Thanks Pradeep! But doesnt seem to work with this link also.
Answers.UserDisplayName: Tapash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-26T22:49:28.167Z
Answers.Text: How are you generating url in email?
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-26T22:51:38.697Z
Answers.Text: Yes, could this be due to permission? Thats what error message says..
Answers.UserDisplayName: Tapash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-26T22:53:08.027Z
Answers.Text: Nope, by adding checksum to url its possible to update the contact. So its depend upon how you creating url in email. If you can add the url logic or code in your question that would help to fix your problem
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-26T22:55:45.637Z
Answers.Text: Would this be easy to do with webform instead of profile?
Answers.UserDisplayName: Tapash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-26T22:56:37.507Z
Answers.Text: Yes, its possible but its possible from Civi profile as well
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-26T22:56:50.467Z
Answers.Text: Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/92922/discussion-between-tapash-and-pradeep-nayak).
Answers.UserDisplayName: Tapash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-26T15:04:39.653Z
Answers.LastActivityDate: 2019-04-26T15:04:39.653Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I have created a profile with following fields
  First Name
  Last name
  Street address
  Postcode
  Phone</p>
  
  <p>My plan is to include the profile link to Contribution Receipt template with hash and let the donor update their personal details if any mistake is in his profile. My link looks like this.</p>
  
  <p><a href="https://example.com/civicrm/profile/edit?gid=48&amp;id=8949&amp;11e24e6f361dceacd63ea0120b00c871&amp;reset=1" rel="nofollow noreferrer">https://example.com/civicrm/profile/edit?gid=48&amp;id=8949&amp;11e24e6f361dceacd63ea0120b00c871&amp;reset=1</a> </p>
  
  <p>But when the link is clicked it says , <code>You do not have permission to edit this contact record. Contact the site administrator if you need assistance.</code></p>
  
  <p>This is the permission for anonymous user is set in drupal:</p>
  
  <ul>
  <li>CiviCRM: profile create</li>
  <li>CiviCRM: profile view</li>
  <li>CiviCRM: profile edit</li>
  <li>CiviCRM: access all custom data</li>
  <li>CiviCRM: access contact reference fields</li>
  </ul>
  
  <p>What am I doing wrong? Can anyone help please? Thanks</p>
  
Tags: <profile><permissions>
Title: How to allow anonymous user to edit their contact details on CiviCRM?
ThreadText: # How to allow anonymous user to edit their contact details on CiviCRM?
  
  (Asked by: username_0 on 2019-04-26)
  
  I have created a profile with following fields
  First Name
  Last name
  Street address
  Postcode
  Phone
  
  My plan is to include the profile link to Contribution Receipt template with hash and let the donor update their personal details if any mistake is in his profile. My link looks like this.
  
  <https://example.com/civicrm/profile/edit?gid=48&id=8949&11e24e6f361dceacd63ea0120b00c871&reset=1>
  
  But when the link is clicked it says , `You do not have permission to edit this contact record. Contact the site administrator if you need assistance.`
  
  This is the permission for anonymous user is set in drupal:
  
  * CiviCRM: profile create
  * CiviCRM: profile view
  * CiviCRM: profile edit
  * CiviCRM: access all custom data
  * CiviCRM: access contact reference fields
  
  What am I doing wrong? Can anyone help please? Thanks
  
  **Tags:** profile, permissions
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-04-26. Score: 3
  
  The link is missing checksum parameter(cs). It should be
  
  <https://example.com/civicrm/profile/edit?gid=48&id=8949&cs=11e24e6f361dceacd63ea0120b00c871&reset=1>
  
  Thanks
  
  username_1
  
  > **Comments:**
  > **username_0**: Thanks username_1! But doesnt seem to work with this link also.  
  > **username_1**: How are you generating url in email?  
  > **username_0**: Yes, could this be due to permission? Thats what error message says..  
  > **username_1**: Nope, by adding checksum to url its possible to update the contact. So its depend upon how you creating url in email. If you can add the url logic or code in your question that would help to fix your problem  
  > **username_0**: Would this be easy to do with webform instead of profile?  
  > **username_1**: Yes, its possible but its possible from Civi profile as well  
  > **username_0**: Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/92922/discussion-between-username_0-and-username_1).  
  
  ---
  
  