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

Add permissioning for Delete action

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.0, 2.2.1, 2.2.2
    • Fix Version/s: 3.1.4
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Site admins need an option to prevent certain users from deleting records of various types.

      For this implementation, we'll support this functionality using Drupal permissioning.

      The following granularity will be offered for delete permissions:

      • delete contacts
      • delete activities

      ...plus

      For each enabled component:

      • delete in $component (e.g. delete in CiviContribute)

      The component delete permission will apply to all objects in that components class tree.

      For example, "delete in CiviEvent" allows delete of:

      • participant records
      • event records

      Delete button, action link and batch actions should be suppressed for any user who doesn't have delete permission for that object (contacts) or for objects that belong to that component.

        Attachments

          Activity

            People

            • Assignee:
              sushant Sushant Paste
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: