Re: policies with security definer option for allowing inline optimization - Mailing list pgsql-hackers

From Chapman Flack
Subject Re: policies with security definer option for allowing inline optimization
Date
Msg-id 60671FC7.4050509@anastigmatix.net
Whole thread Raw
In response to Re: policies with security definer option for allowing inline optimization  (Isaac Morland <isaac.morland@gmail.com>)
Responses Re: policies with security definer option for allowing inline optimization
List pgsql-hackers
On 04/02/21 09:09, Isaac Morland wrote:
> If we're going to do this we should do the same for triggers as well.
> 
> ... it's easy to imagine a situation in which a trigger needs to
> write to another table which should not be accessible to the role using the
> table which has the trigger.

Triggers seem to be an area of long-standing weirdness[1].

Regards,
-Chap


[1]
https://www.postgresql.org/message-id/b1be2d05-b9fd-b9db-ea7f-38253e4e4bab%40anastigmatix.net



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: policies with security definer option for allowing inline optimization
Next
From: Alvaro Herrera
Date:
Subject: Re: libpq debug log