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:32:46
Message-ID: E1UUE3C-0001oA-Ca@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
------
REL-1_16_0_PATCHES

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=abc44d28db6da2a335760cb5451fefc0dd035f5b
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:33:37 Re: Re: Missing REVOKE in SQL for functions with SECURITY DEFINER (or any function, really)
Previous Message Dave Page 2013-04-22 10:31:30 pgAdmin III commit: Update CHANGELOG for "Handle default privileges to