[CPS-devel] Re: CPSLDAPsetup problem

lopez adrian seternal at gmail.com
Wed Apr 12 14:36:16 CEST 2006


I found the verbose-security in the file :
"\Zope\lib\python\Zope2\Startup\zopeschema.xml"(624,14):  <key
name="verbose-security" datatype="boolean"

here is the new trackback i get when accessing to /cps/sections/news/ (i get
the same error with any content) :

(i dont paste TAL error)


   - Module Products.PageTemplates.TALES, line 221, in evaluate
   *URL: file:CPSSkins/skins/CPSSkins/cpsskins_main_template_default.pt*
   *Line 41, Column 16*
   *Expression: <PythonExpr isRenderable and
content.render_cache(shield=shield,
   context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit,
   template=template, options=options)>*
   *Names:*

   {'container': <CPSDefaultSite at /cps>,
    'context': <ProxyFolder at /cps/sections/news>,
    'default': <Products.PageTemplates.TALES.Default instance at 0x013C9CD8>,
    'here': <ProxyFolder at /cps/sections/news>,
    'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x048AE170>,
    'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x013BE288>,
    'nothing': None,
    'options': {'args': ()},
    'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x048AE170>,
    'request': <HTTPRequest,
URL=http://localhost:81/cps/sections/news/folder_view>,
    'root': <Application at >,
    'template': <FSPageTemplate at /cps/folder_view used for
/cps/sections/news>,
    'traverse_subpath': [],
    'user': <User 'seternal'>}

   - Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   __traceback_info__: isRenderable and content.render_cache(shield=shield,
   context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit,
   template=template, options=options)
   - Module Python expression "isRenderable and
content.render_cache(shield=shield,
   context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit,
   template=template, options=options)", line 1, in <expression>
   - Module Products.CPSSkins.PortalBoxGroup, line 313, in render_cache
   - Module Products.CPSSkins.PortalBoxGroup, line 258, in render
   - Module Products.CPSPortlets.CPSPortlet, line 487, in render_cache
   - Module Products.CPSDocument.CPSDocument, line 68, in render
   - Module Products.CPSDocument.FlexibleTypeInformation, line 752, in
   renderObject
   - Module Products.CPSDocument.FlexibleTypeInformation, line 714, in
   _renderLayouts
   - Module Products.CPSSchemas.Layout, line 391, in
   renderLayoutStructure
   - Module Products.CPSPortlets.CPSPortletWidget, line 78, in render
   - Module Products.CMFCore.FSPythonScript, line 108, in __call__
   - Module Shared.DC.Scripts.Bindings, line 311, in __call__
   - Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   - Module Products.CMFCore.FSPythonScript, line 164, in _exec
   - Module None, line 58, in widget_portlet_document
   *<FSPythonScript at /cps/widget_portlet_document used for
   /cps/portal_layouts/document_portlet/w__portlet>*
   *Line 58*
   - Module Products.CPSDocument.CPSDocument, line 68, in render
   - Module Products.CPSDocument.FlexibleTypeInformation, line 752, in
   renderObject
   - Module Products.CPSDocument.FlexibleTypeInformation, line 714, in
   _renderLayouts
   - Module Products.CPSSchemas.Layout, line 391, in
   renderLayoutStructure
   - Module Products.CPSSchemas.BasicWidgets, line 2107, in render
   - Module Shared.DC.Scripts.Bindings, line 311, in __call__
   - Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   - Module Products.CMFCore.FSPageTemplate, line 195, in _exec
   - Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
   - Module Products.PageTemplates.PageTemplate, line 104, in pt_render
   *<FSPageTemplate at /cps/widget_byline_render used for
   /cps/portal_layouts/common/w__Byline>*
   - Module TAL.TALInterpreter, line 238, in __call__
   - Module TAL.TALInterpreter, line 281, in interpret
   - Module TAL.TALInterpreter, line 457, in do_optTag_tal
   - Module TAL.TALInterpreter, line 442, in do_optTag
   - Module TAL.TALInterpreter, line 437, in no_tag
   - Module TAL.TALInterpreter, line 281, in interpret
   - Module TAL.TALInterpreter, line 715, in do_condition
   - Module TAL.TALInterpreter, line 281, in interpret
   - Module TAL.TALInterpreter, line 457, in do_optTag_tal
   - Module TAL.TALInterpreter, line 442, in do_optTag
   - Module TAL.TALInterpreter, line 437, in no_tag
   - Module TAL.TALInterpreter, line 281, in interpret
   - Module TAL.TALInterpreter, line 507, in do_setLocal_tal
   - Module Products.PageTemplates.TALES, line 221, in evaluate
   *URL: file:CPSSchemas/skins/cps_schemas/widget_byline_render.pt*
   *Line 10, Column 2*
   *Expression: <PythonExpr (here_url !=
utool.getPortalObject().absolute_url())
   and doc.getContentInfo(doc=doc, level=2) or None>*
   *Names:*

   {'container': <CPSDefaultSite at /cps>,
    'context': <CPSBylineWidget at /cps/portal_layouts/common/w__Byline>,
    'default': <Products.PageTemplates.TALES.Default instance at 0x013C9CD8>,
    'here': <CPSBylineWidget at /cps/portal_layouts/common/w__Byline>,
    'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x04B12B48>,
    'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x013BE288>,
    'nothing': None,
    'options': {'args': (),
                'mode': 'view',
                'value': <ProxyFolder at /cps/sections/news>},
    'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x04B12B48>,
    'request': <HTTPRequest,
URL=http://localhost:81/cps/sections/news/folder_view>,
    'root': <Application at >,
    'template': <FSPageTemplate at /cps/widget_byline_render used for
/cps/portal_layouts/common/w__Byline>,
    'traverse_subpath': [],
    'user': <User 'seternal'>}

   - Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   __traceback_info__: (here_url != utool.getPortalObject().absolute_url())
   and doc.getContentInfo(doc=doc, level=2) or None
   - Module Python expression "(here_url !=
utool.getPortalObject().absolute_url())
   and doc.getContentInfo(doc=doc, level=2) or None", line 1, in
   <expression>
   - Module Shared.DC.Scripts.Bindings, line 311, in __call__
   - Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   - Module Products.PythonScripts.PythonScript, line 323, in _exec
   - Module None, line 200, in getContentInfo
   *<PythonScript at /cps/getContentInfo used for /cps/sections/news>*
   *Line 200*
   - Module AccessControl.ImplPython, line 727, in guarded_getattr
   - Module AccessControl.ImplPython, line 669, in aq_validate
   - Module AccessControl.ImplPython, line 563, in validate
   - Module AccessControl.ImplPython, line 383, in validate
   - Module AccessControl.ImplPython, line 808, in raiseVerbose

Unauthorized: The owner of the executing script does not have the required
permission. Access to 'getRevision' of (ProxyFolder at /cps/sections/news)
denied. Access requires one of the following roles: ['Manager',
'SectionManager', 'SectionReader', 'SectionReviewer']. The executing script
is (PythonScript at /cps/getContentInfo used for /cps/sections/news), owned
by <SpecialUser 'Anonymous User'>, who has the roles ['Anonymous']. (Also,
the following error occurred while attempting to render the standard error
message, please see the event log for full details: The owner of the
executing script does not have the required permission. Access to
'getRevision' of (ProxyFolder at /cps/sections/news) denied. Access requires
one of the following roles: ['Manager', 'SectionManager', 'SectionReader',
'SectionReviewer']. The executing script is (PythonScript at
/cps/getContentInfo used for /cps/sections/news), owned by &lt;SpecialUser
'Anonymous User'&gt;, who has the roles ['Anonymous'].)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060412/b3065e1b/attachment.htm


More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.