In my dexterity form
, I have a field "author"
for anonymous
to fill in, and without logged-in user
.
I define a permission called "isAnonymous"
, and grant "isAnonymous"
to Anonymous user,
I use dexterity.write_permission(author='isAnonymous'),
like this:
dexterity.write_permission(author='isAnonymous')
author=schema.TextLine(
title=_(u'Author'),
)
but, this method fails, even logged-in user
can see this field.
In this page
http://docs.plone.org/develop/plone/security/standard_permissions.html
have a note:
if a permission is granted to Anonymous, it is effectively granted to everyone. It is not possible to grant permissions to non-logged in users without also granting them to logged in ones.
so, have any suggestion?