Only members with "Manager" role can add ATWorkgroup. Any non-Manager role returns the following error:
Exception Type
Unauthorized
Exception Value
You are not allowed to manage portlets
Any ideas on how to correct?
****************************
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFPlone.FactoryTool, line 376, in __call__
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__
Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in _call
Module Products.CMFFormController.ControllerBase, line 231, in getNext
Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFFormController.FSControllerPythonScript, line 104, in __call__
Module Products.CMFFormController.Script, line 145, in __call__
Module Products.CMFCore.FSPythonScript, line 140, in __call__
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 196, in _exec
Module None, line 1, in content_edit
- <FSControllerPythonScript at /Plone/content_edit used for /Plone/Members/brittany/portal_factory/ATWorkgroup/atworkgroup.2008-12-17.4325532704>
- Line 1
Module Products.CMFCore.FSPythonScript, line 140, in __call__
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 196, in _exec
Module None, line 13, in content_edit_impl
- <FSPythonScript at /Plone/content_edit_impl used for /Plone/Members/brittany/portal_factory/ATWorkgroup/atworkgroup.2008-12-17.4325532704>
- Line 13
Module Products.Archetypes.BaseObject, line 669, in processForm
Module Products.ATWorkgroup.ATWorkgroup, line 130, in at_post_create_script
Module plone.app.portlets.utils, line 85, in convert_legacy_portlets
Module plone.app.portlets.checker, line 26, in __call__
Unauthorized: You are not allowed to manage portlets
RE: Unauthorized: You are not allowed to manage portlets
Posted byAnonymous Userat
2009-01-02 04:03 PM
The issue is caused because adding a Workgroup adds a portlet, which Plone-3 permissions only allow the Manager role. This issue also causes a rendering error in the "Members's Workgroups" portlet.
The only workaround I've found, thus far, is as follows:
1) in the ZMI, go to the site root and click on the Security tab
2) Go to "Portlets: Manage portlets" and enable "Members" by checking the box
3) Save to update settings.
This workaround does not suffice for a production environment because it gives Members full access to managing Plone-3 portlets on any page.
Any thoughts on how to edit the code are appreciated.
ATWorkgroup-3.0.0 svn
Only members with "Manager" role can add ATWorkgroup. Any non-Manager role returns the following error:
Exception Type
Unauthorized
Exception Value
You are not allowed to manage portlets
Any ideas on how to correct?
****************************
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFPlone.FactoryTool, line 376, in __call__
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__
Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in _call
Module Products.CMFFormController.ControllerBase, line 231, in getNext
Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFFormController.FSControllerPythonScript, line 104, in __call__
Module Products.CMFFormController.Script, line 145, in __call__
Module Products.CMFCore.FSPythonScript, line 140, in __call__
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 196, in _exec
Module None, line 1, in content_edit
- <FSControllerPythonScript at /Plone/content_edit used for /Plone/Members/brittany/portal_factory/ATWorkgroup/atworkgroup.2008-12-17.4325532704>
- Line 1
Module Products.CMFCore.FSPythonScript, line 140, in __call__
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 196, in _exec
Module None, line 13, in content_edit_impl
- <FSPythonScript at /Plone/content_edit_impl used for /Plone/Members/brittany/portal_factory/ATWorkgroup/atworkgroup.2008-12-17.4325532704>
- Line 13
Module Products.Archetypes.BaseObject, line 669, in processForm
Module Products.ATWorkgroup.ATWorkgroup, line 130, in at_post_create_script
Module plone.app.portlets.utils, line 85, in convert_legacy_portlets
Module plone.app.portlets.checker, line 26, in __call__
Unauthorized: You are not allowed to manage portlets
The only workaround I've found, thus far, is as follows:
1) in the ZMI, go to the site root and click on the Security tab
2) Go to "Portlets: Manage portlets" and enable "Members" by checking the box
3) Save to update settings.
This workaround does not suffice for a production environment because it gives Members full access to managing Plone-3 portlets on any page.
Any thoughts on how to edit the code are appreciated.
Thanks... Jim