I have tested the stuff... and its the mailhost.send thats causing the problem. As I mentioned it works when a user is logged in and calles a PyScript that uses the call. However in this case altho I set up the proxy to be Authenticated, it does not. What should I allow in the security tab of the PyScript that will let anybody use the send call in this script?? TIA AM Ausum Studio wrote:
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 )
_______________________________________________ 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 )
-- ================================================================== 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 ==================================================================