Re: GRANT access rights on rows - Mailing list pgsql-novice

From A. Kretschmer
Subject Re: GRANT access rights on rows
Date
Msg-id 20060105085352.GC29203@webserv.wug-glas.de
Whole thread Raw
In response to Re: GRANT access rights on rows  (Bruno Wolff III <bruno@wolff.to>)
Responses Re: GRANT access rights on rows
List pgsql-novice
am  05.01.2006, um  2:42:31 -0600 mailte Bruno Wolff III folgendes:
> > I believe the conventional method of doing this is to create a view
> > selecting all the rows you wish to make accessable, then to grant access
> > to the view.
>
> And note that the view can use current_user which may be useful if different
> users are supposed to see different rows.

Can you explain this with a simple example?


Andreas
--
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    ===

pgsql-novice by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: can't connect to postgresql via phppgadmin and pgaccess
Next
From: Bruno Wolff III
Date:
Subject: Re: GRANT access rights on rows