pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dayo Johnson <dayoj@cleanjohn.net>
To: pgsql-admin@postgresql.org
Subject: Priviliges and Roles
Date: Mon, 27 Feb 2006 12:09:48 +0000
Message-ID: <4402EC0C.9030903@cleanjohn.net> (raw)

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




view thread (5+ messages)  latest in thread

Message-ID: <4402EC0C.9030903@cleanjohn.net>
Permalink:  ../4402EC0C.9030903@cleanjohn.net/
Also on:    postgresql.org/message-id/4402EC0C.9030903@cleanjohn.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: dayoj@cleanjohn.net
  Subject: Re: Priviliges and Roles
  In-Reply-To: <4402EC0C.9030903@cleanjohn.net>
  References: <4402EC0C.9030903@cleanjohn.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox