Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)
Дата
Msg-id CAEZATCWK=YjbKF3mGPW=astWK7pmNWdcU26_RGszgkRXsDNV4Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)
Список pgsql-hackers
On 27 May 2015 at 02:42, Stephen Frost <sfrost@snowman.net> wrote:
> Now, looking at the code, I'm actually failing to see a case where we
> use the RowSecurityPolicy->policy_name..  Perhaps *that's* what we
> should be looking to remove?
>

If we add support for restrictive policies, it would be possible, and
I think desirable, to report on which policy was violated. For that,
having the policy name would be handy. We might also arguably decide
to enforce restrictive RLS policies in name order, like check
constraints. Of course none of that means it must be kept now, but it
feels like a useful field to keep nonetheless.

Regards,
Dean



В списке pgsql-hackers по дате отправления: