At 09:38 AM 1/19/01 -0500, Phillip J. Eby wrote:
This is probably a permissions issue. During __bobo_traverse__, the user has not yet been authenticated, and is effectively anonymous.
I was logged in as a manager.
That would not make any difference. As I said, when __bobo_traverse__ is called, nobody is "logged in", because Zope hasn't gotten around to checking who you are yet.
Thus, your SkinScript is running as anonymous, and probably doesn't have rights to access the SQL method. You might need to change the proxy roles setting on the SkinScript method so that when the SkinScript runs it always has appropriate roles to do what it needs to do.
I gave the skinscript trigger a proxy role of manager. Actually, I gave all methods involved a proxy of manager. The same error was produced.
What version of Zope are you using?
Zope version: Zope 2.2.1 Platform: freebsd4