[Zope-CMF] You are not authorized to access overrideDiscussionFor

Norman Khine soraya@o-a-l.net
Fri, 14 Dec 2001 00:49:46 -0000


Hi,
I just got an update of the source from csv and am getting the following
error

Site Error
An error was encountered while publishing this resource.

Unauthorized

You are not authorized to access overrideDiscussionFor.

I have allowed discussion on the portal_types for News items, but everytime
a Memeber logs and adds a News Item I am presenter with a security box,
requesting the Manager Username and Password.

Am I doing something wrong, or have I missed something? Here is the
traceback and my setup

Thanks

Norman

Zope Version  (Zope 2.4.3 (source release, python 2.1, linux2), python
2.1.1, freebsd4)
Python Version  2.1.1 (#1, Aug 30 2001, 11:21:16) [GCC 2.95.2 19991024
(release)]
System Platform  freebsd4
Process Id  33001 (148455424)
Running For  1 day 1 hour 20 min 34 sec

Traceback (innermost last):
  File /usr/local/zope/2.4.3/lib/python/ZPublisher/Publish.py, line 223, in
publish_module
  File /usr/local/zope/2.4.3/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/zope/2.4.3/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/zope/2.4.3/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: metadata_edit)
  File /usr/local/zope/2.4.3/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: metadata_edit)
  File /usr/local/zope/2.4.3/lib/python/Shared/DC/Scripts/Bindings.py, line
324, in __call__
    (Object: metadata_edit)
  File /usr/local/zope/2.4.3/lib/python/Shared/DC/Scripts/Bindings.py, line
354, in _bindAndExec
    (Object: metadata_edit)
  File Products/CMFCore/FSPythonScript.py, line 115, in _exec
    (Object: metadata_edit)
    (Info: ({'script': <FSPythonScript instance at 8cc4da0>, 'context':
<NewsItem instance at 93442e0>, 'container': <CMFSite instance at 93a4960>,
'traverse_subpath': []}, ('None', 'Regenerating Croydon', ['Newsletter'],
'Croydon Town Centre is important for shopping, entertainment and jobs. But
Croydon Labor also believe that our local centres like Coulsdon and Purley
are hugely important and must be attractive places to shop and live for
local residence.', None, None, None, 'text/html', None, None), {}, (None,
None, None, None, None, None, None, None, None, None)))
  File Script (Python), line 40, in metadata_edit
  File /usr/local/zope/2.4.3/lib/python/AccessControl/ZopeGuards.py, line
120, in guarded_getattr
    (Object: portal_discussion)
  File /usr/local/zope/2.4.3/lib/python/AccessControl/ZopeGuards.py, line
103, in aq_validate
    (Object: portal_discussion)
  File /usr/local/zope/2.4.3/lib/python/AccessControl/SecurityManager.py,
line 149, in validate
  File /usr/local/zope/2.4.3/lib/python/AccessControl/ZopeSecurityPolicy.py,
line 229, in validate
Unauthorized: (see above)



zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zz/********/z/****\zzz|****\*\zz|*******|z
z/^^^^^^^^/z/******\zz|*^^^^|*|z|*|^^^^^|z norman khine
zzzzzz/**/z|**/^^\**|z|*|zzz|*|z|*|zzzzzzz mailto:norman@khine.net
zzzzz/**/zz|*|zzzz|*|z|****/*/zz|*****|zzz purley
z/******/zz|*|zzzz|*|z|*|^^zzzzz|*|^^^|zzz UK
zzZ/**/zzzz|**\^^/**|z|*|zzzzzzz|*|zzzzzzz
zz/******/zz\******/zz|*|zzzzzzz|*|*****|z
z/^^^^^^/zzzz\^^^^/zzz|^|zzzzzzz|^^^^^^^|z
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz