Fwd: Help using user rights

From: Valentin Militaru <valentin(dot)militaru(at)telcor(dot)ro>
To: pgsql-general(at)postgresql(dot)org
Subject: Fwd: Help using user rights
Date: 2006-09-07 11:12:57
Message-ID: 200609071412.57375.valentin.militaru@telcor.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I have a question regarding user rights.

I have one user in postgres8.01. which connects from a webserver and inserts
some data into a table. It only has INSERT access on that table.
ON the other hand, on the same table a have an after-insert trigger which
executes a function owned by a more powerful user.
My problem is that when I try to insert some data with the webserver user,
PostgreSQL wants that user to have access to all the relations used in the
trigger function.

Is there any way to avoid granting the light user with all those rigths?
Thank you very much!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Arturo Perez 2006-09-07 11:15:43 Re: Problems with sequences
Previous Message Martijn van Oosterhout 2006-09-07 11:06:21 Re: Replace NULL values