Re: [Zope] Authentication problem when accessing ZSQL method

2000-09-25 Thread César A. K. Grossmann

Dieter Maurer wrote:
> 
>  > authenticate by my browser. I can't see anything in the security attributes
>  > for the SQL method which requires authentication, and I can 'test' the ZSQL
>  > method succesfully without requiring authentication.
> You must grant the "use database methods" to "Annonymous".

I think it's better to criate a special role, give to this role the
permission to "use database methods" and to give proxy role to the
methods that make authentication and uses the database connection and
ZSQL methods.

I think it's documented in the "GenericUserFolder with MySQL HOWTO" (or
something like it)...

[]s
-- 
 +-+-+
 | César A. K. Grossmann   | Capacitação Solidária   |
 | [EMAIL PROTECTED]| http://www.uol.com.br/umminuto/ |
 | http://members.xoom.com/ckant/  | Clique e doe - é de graça   |
 +-+-+
   http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html
If you're not careful, you're going to catch something.

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Authentication problem when accessing ZSQL method

2000-09-25 Thread Dieter Maurer

steve smith writes:
 > I am experiencing great frustration when trying to implement a drop-down
 > list based upon one of the how-tos I found on the Zope site. Whenever I try
 > to 'view' the DTML method which references the ZSQL method, I am prompted to
 > authenticate by my browser. I can't see anything in the security attributes
 > for the SQL method which requires authentication, and I can 'test' the ZSQL
 > method succesfully without requiring authentication.
You must grant the "use database methods" to "Annonymous".


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
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 )