Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 16E709FB40C for ; Wed, 20 Jun 2007 11:48:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 00529-03 for ; Wed, 20 Jun 2007 11:47:52 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 278FE9FB3FE for ; Wed, 20 Jun 2007 11:47:57 -0300 (ADT) Received: (qmail 12537 invoked from network); 20 Jun 2007 23:47:54 +0900 X-Authentication: inoue was authenticated by mail.tpf.co.jp at 20 Jun 2007 23:47:54 +0900 Received: from unknown (HELO ?192.168.11.3?) (219.61.40.6) by mail.tpf.co.jp with SMTP; 20 Jun 2007 23:47:54 +0900 Message-ID: <46793E14.6070200@tpf.co.jp> Date: Wed, 20 Jun 2007 23:47:48 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Mark Cave-Ayland CC: pgsql-odbc@postgresql.org Subject: Re: Proposal for new pgsqlODBC feature - hiding tables inaccessible to the current user References: <1180628545.15060.26.camel@mca-desktop> <1181232821.12462.10.camel@mca-desktop> <1181900413.6856.10.camel@mca-desktop> In-Reply-To: <1181900413.6856.10.camel@mca-desktop> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/47 X-Sequence-Number: 9036 Sorry for the late reply. Mark Cave-Ayland wrote: > 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. Recently added boolean options are defined as some bits in Extra Opts. Is it OK to define the option as a bit in Extra Opts ? >> 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. Isn't it sufficient to chack SELECT privilege only ? >> 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. regards, Hiroshi Inoue