Hi all, If have a little Problem. Lets say if have a Product foo which is a Folder-like Object. Foo contains many Folders, all of these Folder Contain one or two File-Objects. Each folder in foo should be a Folder for a special User where the id of the folder is the name of the user. Are there any hooks in zope which are called, when a authenticated user opens a file from a any folder in foo. struct: foo/ john/ File1 melissa/ File1 joe/ File1 thanks as
Andre Schubert writes:
Are there any hooks in zope which are called, when a authenticated user opens a file from a any folder in foo. The hook is called "__before_publishing_traverse__".
Usually, you would not provide it yourself but use a SiteAccess AccessRule to install your hook function. HowTos on Zope.org.... Dieter
Hi, this works very well, it's so easy to use that i have not seen it. But how can i access AUTHENTICATED_USER in the method called by AccessRule. thanks as Dieter Maurer schrieb:
Andre Schubert writes:
Are there any hooks in zope which are called, when a authenticated user opens a file from a any folder in foo. The hook is called "__before_publishing_traverse__".
Usually, you would not provide it yourself but use a SiteAccess AccessRule to install your hook function.
HowTos on Zope.org....
Dieter
participants (2)
-
Andre Schubert -
Dieter Maurer