[Zope] How to hook __before_publishing_traverse__
Sidnei da Silva
sidnei@x3ng.com.br
Wed, 30 Jan 2002 12:10:43 -0200
Reading the documentation, i found out why i could not set permissions on the
before_publishing_traverse. It seems that at this point, getting
SecurityGetUser its not reliable.
So, i was thinking of a way to test for if a role is valid to access an
object. Maybe Security.validate() or something, i dont know. And if theres a
hook for testing when a property is accessed, like testing for some condition
before returning title_or_id. Something like __before_property_access__.
Thanx.
--
Sidnei da Silva
X3ng Web Technology
sidnei@x3ng.com.br