Re: Row-level security?

From: lawpoop <lawpoop_at_gmail.com>
Date: Thu, 28 May 2009 08:22:49 -0700 (PDT)
Message-ID: <909ea7af-9e0f-4871-8ecb-6d1c3b2cfe5e_at_o30g2000vbc.googlegroups.com>


On May 28, 10:48 am, Roy Hann <specia..._at_processed.almost.meat> wrote:

> I don't know if relational theory has a lot to say about permissions
> other than to provide the necessary machinery.  What you want is a base
> table to which the user has no access, and a view of that table which is
> restricted to just the rows the user should be able to see.  The user
> is then given permission to select only from the view.

So basically you'd want to do a view for each client? Or, in general, a view for every table for every user where you want row-level access? Received on Thu May 28 2009 - 17:22:49 CEST

Original text of this message