pgAdmin III commit: Handle default privileges to PUBLIC correctly.

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: E1UUE0e-0001go-4f@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2013-04-22 10:31:30 pgAdmin III commit: Update CHANGELOG for "Handle default privileges to
Previous Message Akshay Joshi 2013-04-22 06:51:03 Re: pgAdmin with SSHTunneling support