Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7148

Form Builder: Enforce data retention policy

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Should have
    • 2.106.0

    Description

      Summary

      In order to minimize personal data storage in P4 database, we will enforce certain retention period rules and encourage admins to either export data or integrate with other systems (eg. Hubspot).

      Requirements

      • Enable Retention Policy option under Form Settings > Personal Data by default.
      • Number of days to use a retention value: 90.

      Resources

      Code example

      add_filter( 'gform_form_update_meta', function( $meta, $form_id, $meta_name ) {
      
          GFCommon::log_debug( current_filter() . ': filtering personal data settings.' );          
      
          $meta['personalData']['retention']['retain_entries_days'] = 90;
      
          return $meta;
      
      }, 10, 3 );
      

      Attachments

        Activity

          People

            oagbernd Osong Agberndifor
            nroussos Nikos Roussos
            Dan Tovbein Dan Tovbein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: