[Mpuls-commits] r3655 - base/trunk/mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Sep 15 19:27:41 CEST 2010
Author: torsten
Date: 2010-09-15 19:27:37 +0200 (Wed, 15 Sep 2010)
New Revision: 3655
Modified:
base/trunk/mpulsweb/lib/config.py
Log:
* mpulsweb/lib/config.py: Issue1066: Added new config var to determine
if we need to check the full consitence of a case or just the minimal
requirements for anonymisation
Modified: base/trunk/mpulsweb/lib/config.py
===================================================================
--- base/trunk/mpulsweb/lib/config.py 2010-09-15 13:17:28 UTC (rev 3654)
+++ base/trunk/mpulsweb/lib/config.py 2010-09-15 17:27:37 UTC (rev 3655)
@@ -247,6 +247,13 @@
# Not anonymizable phaseparts
set('phases', 'notanonymizable', [])
+ # Set condition which needs to to be true to check only the minimal
+ # fields for anonymisation instead of all required fields. Notation is
+ # the same used in rules in formed (polnish notation). Default is FALSE
+ # which means the on default the case must be in full consistence state
+ # before it is allowed to be anonymized
+ set('phases', 'minimal_consistence_conditon', "FALSE")
+
# Set minimal fields which must be set before anonymize
set('phases', 'minimal_fields_to_anonymize', [])
More information about the Mpuls-commits
mailing list