Re: Priviliges and Roles - Mailing list pgsql-admin

From Andy Shellam
Subject Re: Priviliges and Roles
Date
Msg-id ivcicf.enc6d9@webmail2.mailnetwork.co.uk
Whole thread Raw
In response to Priviliges and Roles  (Dayo Johnson <dayoj@cleanjohn.net>)
List pgsql-admin
Hi Dayo, This is how I understand it, but I might be wrong: I believe the user who is has permission to execute the function also needs permissions to perform the table writes. Regards Andy Dayo Johnson wrote: > Hello, > > Is it possible to do the following: > Disallow permission to write to a table (either by UPDATE or INSERT) but > allow EXECUTE permission on a Function that writes to the table ? > > The reason I want to do this is so that I can perform certain checks on > the data that is being written before I allow it to be written. > > Cheers DayoJ > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > > !DSPAM:14,4402ee2c160447970214199! > > >

pgsql-admin by date:

Previous
From: CaT
Date:
Subject: Re: Priviliges and Roles
Next
From: "Lane Van Ingen"
Date:
Subject: Re: pgStatTuple