pgAdmin III commit: Handle default privileges to PUBLIC correctly.

Lists: pgadmin-hackers
From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Handle default privileges to PUBLIC correctly.
Date: 2013-04-22 10:30:08
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: 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
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=5d77225774828b435e90f0c46694824330168409
Author: Dhiraj Chawla <dhiraj(dot)chawla(at)enterprisedb(dot)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(-)