[Zope] problem accessing object as anonymous
tseaver at palladion.com
Wed Apr 22 11:52:02 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
robert rottermann wrote:
>> while debugging I found out, that the __roles__ property of a given document is
>> a tuple of the form
>> ('GroupMember', 'Guest', 'Manager', 'FolderManager', 'Owner')
>> if I copy the same document to a vanilla plone site its __roles__ property is
>> ['Anonymous', 'Manager', 'Reviewer', 'Manager', 'Anonymous']
> I found out more: this dropping of 'Anonymous' and converting to a
> tuple only happens when I use our own workflow. if I use the standard
> plone workflow so I wonder, what can provoke this?
The "tuple" form is how the classic Z2 security policy spells "don't
acquire" under the hood (it goes all the way back to bobo, I think).
My guess is that the state in your custom workflow has the 'acquire'
flag unchecked: you need either to add permissions for Anonymous on
that state, or else check the "acquire" checkbox.
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Zope