| From: | Josh Berkus <josh(at)agliodbs(dot)com> |
|---|---|
| To: | Luis Sousa <llsousa(at)ualg(dot)pt>, pgsql-sql <pgsql-sql(at)postgresql(dot)org> |
| Subject: | Re: Permission on insert rules |
| Date: | 2002-11-09 01:35:01 |
| Message-ID: | 200211081735.01704.josh@agliodbs.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
Luis,
> Just a question.
> I'm writing some rules to insert/update some data in my database, and I
> gave all the privileges on that view to the user, and only select on the
> tables.
> When that user inserts data using the view, I thought that was user
> postgres that will do the rest ! But I got permission denied on those
> tables.
> The idea was to create a layer, with the views, giving to that user
> permission on views to insert and update, and not to tables.
> Is this possible ?
This is a known problem.
I know that permissions for Functions has been addressed in 7.3. However, I
am not sure about permissions for updatable views. Tom, Bruce?
--
-Josh Berkus
Aglio Database Solutions
San Francisco
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2002-11-09 02:40:33 | Re: Permission on insert rules |
| Previous Message | Tom Lane | 2002-11-08 21:11:05 | Re: Time difference without intervals |