pgAdmin III commit: Support for security labels on local objects - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject pgAdmin III commit: Support for security labels on local objects
Date
Msg-id E1QlMWM-0004k3-Vg@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Support for security labels on local objects

This patch adds support to a PostgreSQL 9.1 feature called security
labels. It adds a new tab to tables, columns, aggregates, domains,
foreign tables, functions, languages, sequences, types, and views
dialogs, that allows one to add security label for each provider they
want. I suppose most users will have only one provider, but the patch
supports multi providers.

Note that this does not support a recent 9.2 feature of PostgreSQL that
adds security labels to global objects. This will be part of another
patch.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=0a204c7568e2d3b75c2a5c27e9187e31013cdbe3

Modified Files
--------------
pgadmin/ctl/ctlSeclabelPanel.cpp       |  271 ++++++++++++++++++++++++++++++++
pgadmin/ctl/module.mk                  |    1 +
pgadmin/dlg/dlgAggregate.cpp           |   34 ++++-
pgadmin/dlg/dlgColumn.cpp              |   23 +++
pgadmin/dlg/dlgDomain.cpp              |   29 +++-
pgadmin/dlg/dlgForeignTable.cpp        |   26 +++-
pgadmin/dlg/dlgFunction.cpp            |   26 +++-
pgadmin/dlg/dlgLanguage.cpp            |   34 +++-
pgadmin/dlg/dlgSchema.cpp              |   37 ++++-
pgadmin/dlg/dlgSequence.cpp            |   28 +++-
pgadmin/dlg/dlgTable.cpp               |   32 +++-
pgadmin/dlg/dlgType.cpp                |   31 +++-
pgadmin/dlg/dlgView.cpp                |   32 +++-
pgadmin/include/ctl/ctlSeclabelPanel.h |   63 ++++++++
pgadmin/include/ctl/module.mk          |    1 +
pgadmin/include/dlg/dlgAggregate.h     |    5 +-
pgadmin/include/dlg/dlgColumn.h        |    4 +
pgadmin/include/dlg/dlgDomain.h        |    4 +
pgadmin/include/dlg/dlgForeignTable.h  |    5 +-
pgadmin/include/dlg/dlgFunction.h      |    4 +
pgadmin/include/dlg/dlgLanguage.h      |    6 +-
pgadmin/include/dlg/dlgSchema.h        |    5 +-
pgadmin/include/dlg/dlgSequence.h      |    4 +
pgadmin/include/dlg/dlgTable.h         |    4 +
pgadmin/include/dlg/dlgType.h          |    4 +
pgadmin/include/dlg/dlgView.h          |    4 +
pgadmin/include/schema/pgObject.h      |   19 +++
pgadmin/schema/pgAggregate.cpp         |   27 +++
pgadmin/schema/pgColumn.cpp            |   26 +++
pgadmin/schema/pgDomain.cpp            |   30 ++++-
pgadmin/schema/pgForeignTable.cpp      |   23 +++-
pgadmin/schema/pgFunction.cpp          |   31 ++++-
pgadmin/schema/pgLanguage.cpp          |   30 ++++-
pgadmin/schema/pgObject.cpp            |  120 ++++++++++++++
pgadmin/schema/pgSchema.cpp            |   30 ++++-
pgadmin/schema/pgSequence.cpp          |   46 +++++-
pgadmin/schema/pgTable.cpp             |   27 +++-
pgadmin/schema/pgType.cpp              |   38 ++++-
pgadmin/schema/pgView.cpp              |   53 +++++--
39 files changed, 1123 insertions(+), 94 deletions(-)


pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: pgAdmin III commit: Database Designer (milestone 1 of GSoC 2011)
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Support for not valid domain and check constraints