From 22425b06acab5ab1c98f58ca72dea2121e937ce5 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sun, 5 Dec 2010 14:50:25 +0000 Subject: [PATCH] Disable commenting by default if pad is shipped with Plone. If shipped as add-on product, commenting should be enabled by default. svn path=/plone.app.discussion/trunk/; revision=46143 --- plone/app/discussion/interfaces.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plone/app/discussion/interfaces.py b/plone/app/discussion/interfaces.py index e309b59..3f29b28 100644 --- a/plone/app/discussion/interfaces.py +++ b/plone/app/discussion/interfaces.py @@ -29,7 +29,9 @@ class IDiscussionSettings(Interface): "specific content types, folders or content objects " "before users will be able to post comments."), required=False, - default=True, + default=False, + # XXX: pad is disabled by default if shipped with Plone. If shipped as + # add-on product, commenting should be enabled by default. ) anonymous_comments = schema.Bool(