pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: Luis Sousa <llsousa@ualg.pt>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: Permission on insert rules
Date: Mon, 11 Nov 2002 09:59:56 -0800
Message-ID: <web-1821190@davinci.ethosmedia.com> (raw)
In-Reply-To: <1037033140.26585.34.camel@camel>

Robert,

> If the functions can fire as there creator instead of there caller,
> then
> I would think as long as the creator has insert/update views on the
> base
> table, you should be able to do updateable rules and give only
> permissions to the view for the caller. (Though maybe you have to use
> triggers rather than rules to do this?) Does that sound right?

I don't know.  Can you test it?

-Josh



view thread (16+ messages)  latest in thread

Message-ID: <web-1821190@davinci.ethosmedia.com>
Permalink:  ../web-1821190@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-1821190@davinci.ethosmedia.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com, xzilla@users.sourceforge.net, llsousa@ualg.pt
  Subject: Re: Permission on insert rules
  In-Reply-To: <web-1821190@davinci.ethosmedia.com>

* 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