pgAdmin III commit: Fix the setting of "Can update catalog" checkbox

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Fix the setting of "Can update catalog" checkbox
Date: 2010-10-15 22:22:21
Message-ID: 201010152222.o9FMML6t082944@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fix the setting of "Can update catalog" checkbox

It's more a UI fix than anything else. When a user clicks on the "Superuser"
checkbox on the User dialog, we didn't check the "Can update catalogs"
checkbox, so there was a query to create the user and another one to disable
its ability to change catalogs. This patch checks by default this checkbox.
The user can still uncheck it if he wants to.

Report from Kasia Tuszynska.

Fixes #257.

Branch
------
REL-1_12_0_PATCHES

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=fcbf112d93fcbeb78949b2576d5eda6cfecb41d8

Modified Files
--------------
pgadmin/dlg/dlgRole.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message pgAdmin Trac 2010-10-15 22:23:33 Re: [pgAdmin III] #257: UI glitch with superuser /canupdatecatalogs
Previous Message pgAdmin Trac 2010-10-15 22:21:24 [pgAdmin III] #257: UI glitch with superuser /canupdatecatalogs