gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] gmPG enhanced for staff management widget writers


From: Karsten Hilbert
Subject: [Gnumed-devel] gmPG enhanced for staff management widget writers
Date: Sat, 11 Feb 2006 13:42:18 +0100
User-agent: Mutt/1.5.11

gmPG.py::ConnectionPool now has

        get_connection_for_user(user=, password=, ...)

which allows to connect to the appropriate database for a
given service with credentials given in the function call
(as opposed to those established at client startup).

This allows to get a connection for gm-dbo no matter which
user started the client - given the user knows the password
for gm-dbo - in order to call "select gm_create_user()" such
that new GNUmed users can be created from within the GUI.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]