[Zope-CMF] CMF 1.1 and Photo Folder permissions prob.

Scott Meilicke meilicke@speakeasy.org
Thu, 17 Jan 2002 20:30:51 -0800 (PST)


Hi all, this may be a repeat from yesterday - sorry if so.

I have zope 2.4.3 on linux 2.4.9 (debian woody/sid mutant), CMF 1.1. and Photo 
1.2.3.  I want to restrict access to my CMF install, so I removed anon from both 
Access Portal Contents and View, deselecting Aquire from parent.  I added allow 
Authenticated and Member.

However, now 
the Photo Folders within my CMF are asking me to re-auth.  Neither my manager 
account or my super user account within zope can be used.  Traceback below.  If 
I have a Photo Folder within plain zope and not the CMF it works fine.  If I set 
Anon access to the CMF, the Photo Folder within works fine.

Any ideas?

Thanks

Unauthorized
You are not authorized to access objectValues.

Traceback (innermost last):
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 223, in 
publish_module
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: index_html)
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in 
call_object
    (Object: index_html)
  File /usr/local/zope/lib/python/OFS/DTMLMethod.py, line 199, in __call__
    (Object: index_html)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 546, in 
__call__
    (Object: index_html)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_In.py, line 694, in 
renderwob
    (Object: objectValues('Photo Folder'))
  File /usr/local/zope/lib/python/DocumentTemplate/DT_Util.py, line 225, in eval
    (Object: objectValues('Photo Folder'))
    (Info: objectValues)
  File /usr/local/zope/lib/python/AccessControl/DTML.py, line 101, in 
guarded_getattr
    (Object: index_html)
  File /usr/local/zope/lib/python/AccessControl/ZopeGuards.py, line 120, in 
guarded_getattr
    (Object: photos)
  File /usr/local/zope/lib/python/AccessControl/ZopeGuards.py, line 103, in 
aq_validate
    (Object: photos)
  File /usr/local/zope/lib/python/AccessControl/SecurityManager.py, line 149, in 
validate
  File /usr/local/zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 203, 
in validate
Unauthorized: (see above)