[Setup] local roles for admin content working improper.

ramy ramy at effigent.net
Wed Mar 8 08:05:53 UTC 2006



Hi,
	
     we have a setup of plone 2.1.2 running on zope 2.8.5.

Logged in as admin,  i created a folder "vca" in my folder. For "vca"  
folder i have assigned local roles owner, manager to a couple of users.

But the users, who were assigned local roles, when trying to click on  
the sharing tab of "vca" folder are getting the following error.




******************************
Insufficient Privileges

You do not have sufficient privileges to view this page. If you  
believe you are receiving this message in error, please send an e- 
mail to
*************************

All the remaining tabs like contents, view, edit and properties are  
working fine.
Following is the error log.......



*************************

Time
     2006/03/08 13:26:40.358 GMT+0530
User Name (User Id)
     ramy (ramy)
Request URL
     http://192.168.1.76:9201/insight/insight/projects/vca/ 
folder_localrole_form
Exception Type
     Unauthorized
Exception Value
     You are not allowed to access 'getLocalRolesForDisplay' in this  
context

Traceback (innermost last):

     * Module ZPublisher.Publish, line 113, in publish
     * Module ZPublisher.mapply, line 88, in mapply
     * Module ZPublisher.Publish, line 40, in call_object
     * 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 /insight/folder_localrole_form used for / 
insight/insight/projects/vca>
     * Module TAL.TALInterpreter, line 206, in __call__
     * Module TAL.TALInterpreter, line 250, in interpret
     * Module TAL.TALInterpreter, line 711, in do_useMacro
     * Module TAL.TALInterpreter, line 250, in interpret
     * Module TAL.TALInterpreter, line 426, in do_optTag_tal
     * Module TAL.TALInterpreter, line 411, in do_optTag
     * Module TAL.TALInterpreter, line 406, in no_tag
     * Module TAL.TALInterpreter, line 250, in interpret
     * Module TAL.TALInterpreter, line 742, in do_defineSlot
     * Module TAL.TALInterpreter, line 250, in interpret
     * Module TAL.TALInterpreter, line 426, in do_optTag_tal
     * Module TAL.TALInterpreter, line 411, in do_optTag
     * Module TAL.TALInterpreter, line 406, in no_tag
     * Module TAL.TALInterpreter, line 250, in interpret
     * Module TAL.TALInterpreter, line 690, in do_defineMacro
     * Module TAL.TALInterpreter, line 250, in interpret
     * Module TAL.TALInterpreter, line 734, in do_defineSlot
     * Module TAL.TALInterpreter, line 250, in interpret
     * Module TAL.TALInterpreter, line 651, in do_loop_tal
     * Module Products.PageTemplates.TALES, line 206, in setRepeat
     * Module Products.PageTemplates.TALES, line 221, in evaluate
       URL: file:CMFPlone/skins/plone_forms/folder_localrole_form.pt
       Line 108, Column 12
       Expression: standard:'here/computeRoleMap'
       Names:

       {'container': <PloneSite at /insight>,
        'context': <ATFolder at /insight/insight/projects/vca>,
        'default': <Products.PageTemplates.TALES.Default instance at  
0x22cb648>,
        'here': <ATFolder at /insight/insight/projects/vca>,
        'loop': <Products.PageTemplates.TALES.SafeMapping object at  
0x74d3dc8>,
        'modules':  
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance  
at 0x22bd7d8>,
        'nothing': None,
        'options': {'args': ()},
        'repeat': <Products.PageTemplates.TALES.SafeMapping object at  
0x74d3dc8>,
        'request': <HTTPRequest, URL=http://192.168.1.76:9201/insight/ 
insight/projects/vca/folder_localrole_form>,
        'root': <Application at >,
        'template': <FSPageTemplate at /insight/folder_localrole_form  
used for /insight/insight/projects/vca>,
        'traverse_subpath': [],
        'user': ramy}

*************************

												with rgds,
												Ramy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-setup/attachments/20060308/cfd45699/attachment-0002.html>


More information about the Setup mailing list