From 7cd9ef2491196d0bc0614977b945103933b3c497 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sat, 17 Oct 2009 13:50:55 +0000 Subject: [PATCH] Changing browser:view registrations to browser:page since view doesn't actually do anything with the permissions. This fixes the anyone can delete comments problem. evilbungle branch merge. svn path=/plone.app.discussion/trunk/; revision=30665 --- plone/app/discussion/browser/configure.zcml | 4 +- plone/app/discussion/tests/test_workflow.py | 53 ++++++++++++++++----- 2 files changed, 43 insertions(+), 14 deletions(-) diff --git a/plone/app/discussion/browser/configure.zcml b/plone/app/discussion/browser/configure.zcml index 512e6da..f131592 100644 --- a/plone/app/discussion/browser/configure.zcml +++ b/plone/app/discussion/browser/configure.zcml @@ -36,7 +36,7 @@ /> - -