Обсуждение: pgAdmin III commit: Handle default privileges to PUBLIC correctly.

Поиск
Список
Период
Сортировка

pgAdmin III commit: Handle default privileges to PUBLIC correctly.

От
Dave Page
Дата:
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(-)