Changes between Version 5 and Version 6 of S3/S3Anonymize


Ignore:
Timestamp:
04/03/18 18:41:31 (7 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3Anonymize

    v5 v6  
    100100In this dialog, the user can choose all or some of the configured rule sets, then confirm the action and submit the form.
    101101== Back-end Function ==
     102
     103{{{S3Anonymize}}} implements the {{{S3Method}}} interface and can thus be configured as REST method for a resource using {{{s3db.set_method}}}.
     104
     105Apart from that, S3Anonymize comes with a generic {{{cascade()}}} method that can be used to implement other anonymize/cleanup routines:
     106{{{
     107S3Anonymize.cascade(table, record_ids, rules)
     108}}}
     109
     110...where:
     111 - ''table'' is the target {{{Table}}}
     112 - ''record_ids'' is a set or list of record IDs to anonymize
     113 - ''rules'' is single dict of rules as described above
     114
     115This function returns nothing, but will raise in case of an error.