Re: role support - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Re: role support
Date
Msg-id 4C33A144.20005@lelarge.info
Whole thread Raw
In response to role support  (Benedek László <laci@benedekl.tvnetwork.hu>)
Responses Re: role support  (guillaume <guillaume@lelarge.info>)
List pgadmin-hackers
Le 06/07/2010 16:36, Benedek László a écrit :
> [...]
> I createad a patch to add support for roles in saved server configurations.
> After a db connection it will issue a SET Role=<rolename> when a rolename is specified for the connected server.
>
> This allows using pgAdmin's gui to create/alter/delete objects in accordance with a security policy that forbids
loggingin directly 
> as superuser, but instead specifies that you should log into an admin account and then SET Role to the superuser.
>

It seems quite interesting. I still only read the patch (and it seems a
good one), but I didn't test it actually. I'll do in the next few days.
Anyway, we're still in beta for 1.12. If the patch is good enough, we'll
have to wait the creation of the 1.12 branch before applying it.

> I also found something which seems to me a small escaping bug, a patch included for this issue also.
>

Commited. I also created the ticket 208 for it.

Thank you.


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

pgadmin-hackers by date:

Previous
From: "pgAdmin Trac"
Date:
Subject: Re: [pgAdmin III] #208: Small escaping bug in the database name of a connection
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by guillaume: r8453 - in trunk/pgadmin3/i18n: af_ZA ar_SA bg_BG ca_ES cs_CZ da_DK de_CH de_DE el_GR es_ES fa_IR fi_FI fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU id_ID is_IS it_IT ja_JP ko_KR lt_LT lv_LV mk_MK nb_NO nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sl_SI sr_RS sv_SE te_IN tl_PH tr_TR uk_UA ur_PK vi_VN zh_CN zh_TW