pgAdmin III commit: Handle default privileges to PUBLIC correctly. - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin III commit: Handle default privileges to PUBLIC correctly.
Date
Msg-id E1UUE3C-0001oA-Ca@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Handle default privileges to PUBLIC correctly.

Teach pgObject::GetGrant() that databases, functions and languages
have implicit privileges granted to PUBLIC, and that REVOKE statements
may need to be generated for them.

Ensure that affected object properties dialogues display the default
privileges so the user can revoke them if desired.

Branch
------
REL-1_16_0_PATCHES

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=abc44d28db6da2a335760cb5451fefc0dd035f5b
Author: Dhiraj Chawla <dhiraj.chawla@enterprisedb.com>

Modified Files
--------------
pgadmin/dlg/dlgDatabase.cpp       |    9 +++++++++
pgadmin/dlg/dlgFunction.cpp       |    9 +++++++++
pgadmin/dlg/dlgLanguage.cpp       |    9 +++++++++
pgadmin/dlg/dlgProperty.cpp       |   24 ++++++++++++++++++++++++
pgadmin/include/dlg/dlgProperty.h |    1 +
pgadmin/include/utils/misc.h      |    4 +++-
pgadmin/schema/pgLanguage.cpp     |    1 +
pgadmin/schema/pgObject.cpp       |   28 +++++++++++++++++++++++++++-
8 files changed, 83 insertions(+), 2 deletions(-)


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin III commit: Update CHANGELOG for "Handle default privileges to
Next
From: Dave Page
Date:
Subject: pgAdmin III commit: Update CHANGELOG for "Handle default privileges to