Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 0B54D9FC0DD for ; Fri, 15 Jun 2007 06:40:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 21848-10 for ; Fri, 15 Jun 2007 06:40:20 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from p15195424.pureserver.info (p15195424.pureserver.info [82.165.34.74]) by postgresql.org (Postfix) with ESMTP id 0A6339FC0B9 for ; Fri, 15 Jun 2007 06:40:20 -0300 (ADT) Received: from dsl-217-155-86-70.zen.co.uk ([217.155.86.70] helo=[192.168.0.2]) by p15195424.pureserver.info with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.43) id 1Hz8Ht-00040M-He for pgsql-odbc@postgresql.org; Fri, 15 Jun 2007 10:40:18 +0100 From: Mark Cave-Ayland To: pgsql-odbc@postgresql.org In-Reply-To: <1181232821.12462.10.camel@mca-desktop> References: <1180628545.15060.26.camel@mca-desktop> <1181232821.12462.10.camel@mca-desktop> Date: Fri, 15 Jun 2007 10:40:13 +0100 Message-Id: <1181900413.6856.10.camel@mca-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 X-SA-Exim-Connect-IP: 217.155.86.70 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk Subject: Re: Proposal for new pgsqlODBC feature - hiding tables inaccessible to the current user Content-Type: text/plain Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.1 (built Wed, 05 Jan 2005 10:54:05 -0500) X-SA-Exim-Scanned: Yes (on p15195424.pureserver.info) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/42 X-Sequence-Number: 9031 On Thu, 2007-06-07 at 17:13 +0100, Mark Cave-Ayland wrote: > Hi everyone, > > I've just completed the patch for only listing tables accessible by the > current user for psqlodbc as detailed in my email here: > http://archives.postgresql.org/pgsql-odbc/2007-05/msg00068.php. As > suggested in the original post, I have implemented a tick box called > "Only list user-accessible tables" on page 2 of the Datasource Advanced > Options dialog. When this box is ticked, only tables on which the user > has one of SELECT, INSERT, DELETE or UPDATE privileges will appear in > the table list for the given DSN. > > I think that this would be a really useful feature to add to the > psqlodbc driver, and so I have attached a diff from CVS HEAD. As far as > I know, the only part I have missed is adding the tickbox and its > corresponding translation to the Japanese version of the dialog in > psqlodbc.rc. Please let me know if there is any more work I need to do > in order to get this applied. > > > Kind regards, > > Mark. Hi everyone, I haven't yet received any feedback (either positive or negative) from any psqlODBC developers regarding my patch to hide tables that are not accessible to the current user here: http://archives.postgresql.org/pgsql-odbc/2007-06/msg00028.php. I'd like to help get this patch applied to CVS if possible, as it has proved to be a really useful feature for us. Kind regards, Mark.