[ZCM] [ZC] 1222/ 8 Resolve "Help system : Zope Api doc requires
authentication"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Tue May 4 15:15:53 EDT 2004
Issue #1222 Update (Resolve) "Help system : Zope Api doc requires authentication"
Status Resolved, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/1222
==============================================================
= Resolve - Entry #8 by jens on May 4, 2004 3:15 pm
Status: Pending => Resolved
Done.
jens
________________________________________
= Comment - Entry #7 by yuppie on May 4, 2004 3:11 pm
Fixed. Could please someone close this issue?
________________________________________
= Comment - Entry #6 by yuppie on May 4, 2004 12:43 pm
Adding security declarations in APIHelpTopic.py seems to resolve this issue. I'll soon check in a fix.
________________________________________
= Edit - Entry #5 by chrisw on Apr 1, 2004 4:39 pm
Changes: submitter email, edited transcript, revised title, new comment
Why do people have such trouble with the word authentication? ;-)
________________________________________
= Comment - Entry #4 by jmr on Mar 31, 2004 3:23 pm
Also still exists on 2.7.0 on FreeBSD 4.9, python 2.3.2. In addition, this seems to be the same bug as 1205, which was closed.
________________________________________
= Comment - Entry #3 by gillou on Mar 6, 2004 8:13 am
Investigating somehow deeper in that bug, the following scenario will help experts of HelpSys to find what's going on...
1/ Add following files ("zztest1.py" and "zztest2") to $SOFTWARE_HOME\Products\OFSP\help :
<zztest1.py>
"""
zztest1
You can view this doc
"""
</zztest1.py>
<zztest2.py>
"""
zztest2
This will raise an Unauthorized error,
apparently raised from the dummy function
below:-(
"""
def dummy(somearg):
""""Useless docstring
""""
</zztest2.py>
2/ Restart your Zope instance
3/ Browse the Help system to "Zope Help / API Reference / zztest1"
--> OK
4/ Browse the Help system to "Zope Help / API Reference / zztest2"
--> Unauthorized is raised, event a root Manager authentication fails :-(
Note : this has been don on a WinXP box, yet untested under a Unix (like) box.
________________________________________
= Comment - Entry #2 by mjablonski on Feb 12, 2004 2:58 am
This problem still exists with the final release of Zope 2.7.
________________________________________
= Request - Entry #1 by gillou on Feb 9, 2004 5:49 am
Viewing Zope API docs requires authentication.
Scenario :
1/ log in as root manager
2/ click "help" from anywhere (folder for instance)
3/ browse the help tree to "Zope help > API Reference > (any topic)"
This raises the authentication box, so nobody can view that help.
==============================================================
More information about the Zope-Collector-Monitor
mailing list