[Zope-CMF] Problem creating new objects

Priya Ramkumar pra@baba9.com
Thu, 20 Sep 2001 12:18:58 +0530


Hi,

I am using Zope2.3.3 & CMF1.1. Everything was working fine but now all of a
sudden, I am unable to create new objects. Once I login, I am able to see
the list of existing documents, news items etc. But when I click on "New",
it asks for the username & password again. After even typing the correct
username & password, it does not allow me to create the object but instead
gives me a "Site Error".

This the traceback I get,

 You are not authorized to access <em>this</em>.
<!--
Traceback (innermost last):
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/ZPublisher/Publish.py,
line 223, in publish_module
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/ZPublisher/Publish.py,
line 187, in publish
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/ZPublisher/Publish.py,
line 171, in publish
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/ZPublisher/mapply.py,
line 160, in mapply
    (Object: metadata_edit_form)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/ZPublisher/Publish.py,
line 112, in call_object
    (Object: metadata_edit_form)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/OFS/DTMLMethod.py,
line 189, in __call__
    (Object: metadata_edit_form)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/DocumentTemplate/DT_St
ring.py, line 540, in __call__
    (Object: metadata_edit_form)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/OFS/DTMLMethod.py,
line 182, in __call__
    (Object: standard_html_header)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/DocumentTemplate/DT_St
ring.py, line 540, in __call__
    (Object: standard_html_header)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/DocumentTemplate/DT_Le
t.py, line 149, in render
    (Object:
member=&quot;portal_membership.getAuthenticatedMember().has_role('Member')&q
uot;)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/OFS/DTMLMethod.py,
line 182, in __call__
    (Object: actions_box)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/DocumentTemplate/DT_St
ring.py, line 540, in __call__
    (Object: actions_box)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/DocumentTemplate/DT_Le
t.py, line 148, in render
    (Object: isAnon=&quot;portal_membership.isAnonymousUser()&quot;
          AuthClass=&quot;isAnon and 'GuestActions' or 'MemberActions'&quot;
          uname=&quot;isAnon and 'Guest'
                 or
portal_membership.getAuthenticatedMember().getUserName()&quot;
          obj=&quot;this()&quot;
          actions=&quot;portal_actions.listFilteredActionsFor(obj)&quot;
          user_actions=&quot;actions['user']&quot;
          folder_actions=&quot;actions['folder']&quot;
          object_actions=&quot;actions['object'] + actions['workflow']&quot;
          global_actions=&quot;actions['global']&quot;)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/DocumentTemplate/DT_Ut
il.py, line 333, in eval
    (Object: this())
    (Info: this)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/OFS/DTMLMethod.py,
line 261, in validate
    (Object: metadata_edit_form)
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/AccessControl/Security
Manager.py, line 144, in validate
  File
/export/usr/local/Zope3/Zope_software_home/lib/python/AccessControl/ZopeSecu
rityPolicy.py, line 199, in validate
Unauthorized: (see above)

I would be most thankful for any help and suggestions.

Thanks & regards,
Priya