[Zope-PTK] Problems viewing other member's documents

Adrian Madrid aem@byu.edu
Mon, 5 Mar 2001 15:12:02 -0800 (PST)


I'm having problems seeing a document that the x user
created as a y or guest user. Both x and y are simple
members and x's document was published by a manager.
Both y and guest looked up the document through the
search interface, found it and when tried to click on
the document where asked for user name and password.

Any ideas why this is happening? Shouldn't at least
members be allowed to see other people's published
documents.

Here's the traceback I get.

Zope Error
Zope has encountered an error while publishing this
resource. 

Unauthorized

You are not authorized to access isEffective. 
Traceback (innermost last):
  File C:\Program
Files\BensonBT\lib\python\ZPublisher\Publish.py, line
222, in publish_module
  File C:\Program
Files\BensonBT\lib\python\ZPublisher\Publish.py, line
187, in publish
  File C:\Program
Files\BensonBT\lib\python\ZPublisher\Publish.py, line
171, in publish
  File C:\Program
Files\BensonBT\lib\python\ZPublisher\mapply.py, line
160, in mapply
    (Object: document_view)
  File C:\Program
Files\BensonBT\lib\python\ZPublisher\Publish.py, line
112, in call_object
    (Object: document_view)
  File C:\Program
Files\BensonBT\lib\python\Products\PTKBase\FSDTMLMethod.py,
line 218, in __call__
    (Object: document_view)
  File C:\Program
Files\BensonBT\lib\python\DocumentTemplate\DT_String.py,
line 550, in __call__
    (Object: document_view)
  File C:\Program
Files\BensonBT\lib\python\Products\PTKBase\FSDTMLMethod.py,
line 213, in __call__
    (Object: standard_html_header)
  File C:\Program
Files\BensonBT\lib\python\DocumentTemplate\DT_String.py,
line 550, in __call__
    (Object: standard_html_header)
  File C:\Program
Files\BensonBT\lib\python\DocumentTemplate\DT_Util.py,
line 328, in eval
    (Object: _.hasattr(this(),'isEffective') and not
isEffective( ZopeTime() ))
    (Info: isEffective)
  File C:\Program
Files\BensonBT\lib\python\Products\PTKBase\FSDTMLMethod.py,
line 238, in validate
    (Object: document_view)
  File C:\Program
Files\BensonBT\lib\python\AccessControl\SecurityManager.py,
line 144, in validate
  File C:\Program
Files\BensonBT\lib\python\AccessControl\ZopeSecurityPolicy.py,
line 225, in validate
Unauthorized: (see above)



=====
---------------------------
Adrian Esteban Madrid
Benson Institute, Webmaster
Brigham Young University
---------------------------
adrian_esteban@madrid.com
===========================

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/