[Mpuls-commits] r1790 - wasko/branches/2.0/jmdweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 25 15:26:07 CET 2010


Author: torsten
Date: 2010-02-25 15:26:06 +0100 (Thu, 25 Feb 2010)
New Revision: 1790

Modified:
   wasko/branches/2.0/jmdweb/controllers/statement.py
Log:
Inherit from ProvacyController


Modified: wasko/branches/2.0/jmdweb/controllers/statement.py
===================================================================
--- wasko/branches/2.0/jmdweb/controllers/statement.py	2010-02-25 14:24:03 UTC (rev 1789)
+++ wasko/branches/2.0/jmdweb/controllers/statement.py	2010-02-25 14:26:06 UTC (rev 1790)
@@ -33,6 +33,7 @@
 
 from mpulsweb.lib.base import c, h, redirect_to, render, session
 from mpulsweb.lib.security import checkRole
+from mpulsweb.controllers.privacy import PrivacyController
 
 from jmdweb.lib.base import BaseController 
 from jmdweb.lib.search import INCONSISTENCY_CHECK_AFTER
@@ -47,6 +48,7 @@
      _completeAnonymizedCase, \
      _determineAnonymizedCaseEndPhase
 
+
 log = logging.getLogger(__name__)
 
 
@@ -79,7 +81,7 @@
 %s""" % MARKANONYMIZE_CLEARING_PHASE_FAILED_TEXT
 
 
-class StatementController(BaseController):
+class StatementController(PrivacyController):
 
     @checkRole('cm_ka')
     def index(self):



More information about the Mpuls-commits mailing list