Hi,
I'm trying to deploy blogs on my CPS without success.
I've done this:
- Created a new section;
- created new categories on vocabularies for blogs.
- Inside this section, added a blog aggregator, selecting all categories;
- Went to ZMI and gave BlogPoster, BlogManager, Reader, SectionReader
rights to group role:authenticated on this blog aggregator. (Blog Aggregator
didn't have a 'Local Roles' object action!)
- As normal user, created a blog in my workspace.
- Added a new blog, publishing it.
- As normal user 2, tried to read the newly created blog; Failed!
CPS raises this error:
Error Type: Unauthorized
Error Value: You are not allowed to access 'getContent' in this context
and this is a snippet of the traceback:
URL: file:CPSBlog/skins/cpsblog/blog_entry_macros.pt
Line 100, Column 10
Expression: standard:'item/hasCommentAction'
Names:
{'container': <CPSDefaultSite at /devel>,
'context': <ProxyFolderishDocument at /devel/sections/blogs>,
'default': <Products.PageTemplates.TALES.Default instance at 0x40b80d4c>,
'here': <ProxyFolderishDocument at /devel/sections/blogs>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x45e8c66c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x40b8cc6c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x45e8c66c>,
'request': <HTTPRequest,
URL=http://tucano.ipen.br/devel/sections/blogs/blogaggregator_view>,
'root': <Application at >,
'template': <FSPageTemplate at /devel/blogaggregator_view used
for /devel/sections/blogs>,
'traverse_subpath': [],
'user': usuario2}
-------------------------------
Only poster or manager can read blogs. Is this normal!
What did I miss here?
--
Mario O.de Menezes, Ph.D. "Many are the plans in a man's heart, but
LinuxUser: #24626 is the Lord's purpose that prevails" Pv 19.21
http://www.ipen.br/~mario
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users