Per Erik Strandberg wrote:
Hi plone product developers list!
Hi Per,
[interesting to see us starting to communicate via this channel
as well ;-)]
[..]
When I try the sharing tab it does not work. I am deeply annoyed that
there is a sharing tab when it has no or only limited effect :(
briefly browsing over the code you've posted at the link below
it seems like you are missing to declare the add permission in
the call to 'contentInit' in your products '__init__.py'.
(strange that you get no warning on startup though ...)
Please report back whether adding a permission declaration there
helps with the sharing issue you are seeing,
Raphael
The complete plone product is now about 100 lines of code (pasted here:
http://paste.plone.org/19594 ) and the content types are as small as I
could make them:
------
# import bla bla bla
class SimpleFolder(BaseFolder):
schema = BaseSchema.copy() + Schema(())
allowed_content_types = ('SimpleThing')
filter_content_types = 1
_at_rename_after_creation = True
registerType(SimpleFolder, PROJECTNAME)
class SimpleThing(BaseContent):
schema = BaseSchema.copy() + Schema(())
_at_rename_after_creation = True
global_allow = 0
registerType(SimpleThing, PROJECTNAME)
------
Some screenshots and more text is available in this tutorial-to-be:
http://www.pererikstrandberg.se/blog/index.cgi?page=PloneSimpleFolderAndPermissions
Any hints or pointers are appreciated, thanks
/Per
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers