ZDiscussions and Zope 2.2
I can't seem to add a ZDiscussions topic any more. I keep getting authorization failures. Managers are allowed to all zdiscussion topics on the security page, though. Is this related to the problem with ZSQL queries and the new permissions scheme with 2.2? -- cary
Hi Cary, I'd be really happy if you could try out Squishdot 0.4.0 for what you're doing. It's kindof ZDiscussions on steroids and should work with 2.2, although I haven't had a chance to test it yet... It definitely does file attachments, though, and I know it works with Zope 2.1.6. cheers. Chris
Hi Cary,
I'd be really happy if you could try out Squishdot 0.4.0 for what you're doing. It's kindof ZDiscussions on steroids and should work with 2.2, although I haven't had a chance to test it yet...
It seems broken. Using Zope-2.2.0a1 and Squishdot-0-4-0, this is what happens. Install squishdot, restart - ok. Create a squishdot topic from the management interface - ok. Access the empty topic (i.e. directly, not through management interface) - ok. Click "Post Article", get article entry form - ok. Add dummy article, click Add, get "Your article has been posted" confirm. page - ok. Click OK from confirm page, get Authorization Failed - Retry. Give up, traceback below. The new security stuff in 2.2 seems to have broken a lot of stuff. Seems as if I may have to rollback some internal sites back to 2.1.6. -- cary --------------------------------- traceback ------------------------------------------------- Traceback (innermost last): File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 224, in publish_module File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 189, in publish File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 175, in publish File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/Products/Squishdot/Squishdot.py, line 1215, in index_html File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/OFS/DTMLMethod.py, line 160, in __call__ (Object: posting_html) File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_String.py, line 500, in __call__ (Object: posting_html) File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_Util.py, line 327, in eval (Object: meta_type == 'Comment') (Info: meta_type) File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/OFS/DTMLMethod.py, line 180, in validate (Object: posting_html) File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/AccessControl/SecurityManager.py, line 139, in validate File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/AccessControl/ZopeSecurityPolicy.py, line 160, in validate Unauthorized: meta_type
Cary O'Brien wrote: [snip Squishdot 0.4.0 doesn't work with Zope 2.2]
Give up, traceback below.
I guess it doesn't then :( I suspect there will need to be a 0.4.3 (maybe 0.5.0) release that works with Zope 2.2. However I'll probably use the new traversal interface for it so it won't work with any versions of Zope prior to 2.2. cheers, Chris
What version are you using? J
From: "Cary O'Brien" <cobrien@Radix.Net> Date: Tue, 30 May 2000 10:31:44 -0400 (EDT) To: zope@zope.org Subject: [Zope] ZDiscussions and Zope 2.2
I can't seem to add a ZDiscussions topic any more. I keep getting authorization failures. Managers are allowed to all zdiscussion topics on the security page, though.
Is this related to the problem with ZSQL queries and the new permissions scheme with 2.2?
-- cary
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Cary O'Brien -
Chris Withers -
J. Atwood