[ZWeb] Job Board

Patrick Lewis plewis@inetarena.com
Thu, 15 Feb 2001 13:38:23 -0800

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


I am running into a problem with the job board I maintian at
www.zope.org/Members/plewis/job_board.  Unfortunately, I don't know when
it broke, but it could have been quite a while ago.

I have a method called new_posting_add that takes the information from
new_posting_form, adds a new dtml document & sets appropriate properties.
When running new_posting_add, I get:

You are not authorized to access manage_addDTMLDocument.

I assume somewhere along the line this method was restricted.  Is there a
way I can work around this?  Is there something else I am missing?  (I am
attaching the full traceback, just in case).

Patrick Lewis <plewis@inetarena.com>

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=traceback

Traceback (innermost last):
  File /usr/local/base/zope_soft/lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File /usr/local/base/zope_soft/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /usr/local/base/zope_soft/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /usr/local/base/zope_soft/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: new_posting_add)
  File /usr/local/base/zope_soft/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: new_posting_add)
  File /usr/local/Zope230-branch/lib/python/OFS/DTMLMethod.py, line 189, in __call__
    (Object: new_posting_add)
  File /usr/local/Zope230-branch/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__
    (Object: new_posting_add)
  File /usr/local/Zope230-branch/lib/python/DocumentTemplate/DT_With.py, line 146, in render
    (Object: job_postings)
  File /usr/local/Zope230-branch/lib/python/DocumentTemplate/DT_Util.py, line 328, in eval
    (Object: manage_addDTMLDocument(REQUEST.id, REQUEST.company, default_view.read() ))
    (Info: manage_addDTMLDocument)
  File /usr/local/Zope230-branch/lib/python/OFS/DTMLMethod.py, line 261, in validate
    (Object: new_posting_add)
  File /usr/local/Zope230-branch/lib/python/AccessControl/SecurityManager.py, line 144, in validate
  File /usr/local/Zope230-branch/lib/python/AccessControl/ZopeSecurityPolicy.py, line 212, in validate
Unauthorized: (see above)