Hey ZGang! I've been working with ZClasses for a bit and noticed some authentication issues. After reading Amos's starter kit, I assigned all permissions in the ZClass security tab to the role I wanted to let change the properties, but it won't let me make the changes. When not logged in as a manager, and logged in as this other role, I get the AUTHENTICATION failed. Has anyone else had trouble when using ZClasses with methods that update/manage properties. -- Jason Spisak webmaster@mtear.com
Hello, I think I've found a bug in the zinit.py file. Here is a patch to fix it. Tony diff -ru orig.Zope-1.11.0pr1-src/ZServer/zinit.py Zope-1.11.0pr1-src/ZServer/zinit.py --- orig.Zope-1.11.0pr1-src/ZServer/zinit.py Fri Apr 30 15:20:50 1999 +++ Zope-1.11.0pr1-src/ZServer/zinit.py Fri May 7 15:58:48 1999 @@ -165,7 +165,7 @@ def forkit(attempts = FORK_ATTEMPTS): while attempts: # if at first you don't succeed... - attempts = attempts + 1 + attempts = attempts - 1 try: pid = os.fork() except os.error:
participants (2)
-
Anthony Joseph Seward -
Jason Spisak