Re: Baffled by basic permission issue.

From: Wim Bertels <wim(dot)bertels(at)ucll(dot)be>
To: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Baffled by basic permission issue.
Date: 2021-06-17 06:43:04
Message-ID: efa9c36e5050bca1cde2e57b9b2c10f1a7535d36.camel@ucll.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Tom Lane schreef op wo 16-06-2021 om 17:21 [-0400]:
>
> When you select from a view, you need permissions only on the view.
> The view's owner needs permissions on the underlying table(s).
> This is so that views can act as permission gateways.

additionally,
if you want to allow modifications through this view,
have a look at 'with check option' to avoid unwanted permission side-
effects

>
> regards, tom lane
>
>
--
mvg,
Wim Bertels

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message kaido vaikla 2021-06-17 09:47:21 Re: How does vacuum full works if table is partitioned?
Previous Message Ni Ne 2021-06-16 21:39:21 Assistance setting up LDAPS authentication for pgadmin4