Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-177

Block User from Deleting Their Own Contact Record

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None

      Description

      Delete contact function should not allow the contact record associated with the currently logged in user to be deleted. If it is one of the contacts selected for the delete contacts task - skip that record, continue with any others, and return the following message in the task result array:

      "Your contact record - $display_name - was not deleted. CiviCRM requires a contact record for each authenticated user."

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: