[Zope] proxy permission problem

Ausum Studio ausum_studio@hotmail.com
Fri, 30 Aug 2002 18:08:15 -0500


Check security settings at both tabs "Security" and "Proxy", of the script
object.

If Proxy is set to Authenticated, Security must grant the correspondant
permission (you might know) to Anonymous users.

If all that is done maybe your target methods are calling others that need
further permission settings, and/or more permissions than the "Use mailhost
services" one. Keep those methods as light as you can, at least until you
get to know what's going on, or dive into the source to know exactly how the
permission machinery works for the mailhost object.


Ausum



----- Original Message -----
From: "AM" <list_subscriber@neurobs.com>
To: <zope@zope.org>
Sent: Friday, August 30, 2002 3:38 PM
Subject: [Zope] proxy permission problem


> Hi,
> lI have a python script that uses the mailhost.send() API call to send
> an email. In my zope setup all authenticated users (Role: Authenticated)
> are allowed to use mailhost services and can use it (tested it thoroughly)
>
> Hopwever this specific script is can only be used by anonymous users. To
> facilitate the use I went into the proxy tab of the script management
> console and selected 'Authenticated' and saved the changes. However, it
> still kicks me to the login page when I try to use the script.
>
> What more do I have to do to let me use it as Anonymous???
> I can use it if I am logged in.
>
> TIA
> AM
>
> --
> ==================================================================
>  Aseem Mohanty
>  Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706
>  (R) 510 7696011 (M) 510 3014871 (O) 510 5279231
> ==================================================================
>  "I saw `cout' being shifted "Hello world" times to the left and
>   stopped right there!!"                        -- Steve Gonedes
> ==================================================================
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>