pgAdmin III commit: Support for security labels on local objects

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Support for security labels on local objects
Date: 2011-07-25 14:52:38
Message-ID: E1QlMWM-0004k3-Vg@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2011-07-25 14:52:39 pgAdmin III commit: Support for security labels on global objects
Previous Message Guillaume Lelarge 2011-07-25 07:52:35 Re: pgAdmin III commit: Database Designer (milestone 1 of GSoC 2011)