Re: Baffled by basic permission issue.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Baffled by basic permission issue.
Дата
Msg-id 805163.1623878495@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Baffled by basic permission issue.  (Wells Oliver <wells.oliver@gmail.com>)
Ответы Re: Baffled by basic permission issue.  (Wim Bertels <wim.bertels@ucll.be>)
Список pgsql-admin
Wells Oliver <wells.oliver@gmail.com> writes:
> The role has SELECT perm on the view and on the underlying tables and I am
> received a permission denied table on the table while trying to select from
> the view. The view is owned by a different user but SELECT perms are very
> clearly granted to my role.

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.

            regards, tom lane



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

Предыдущее
От: Wells Oliver
Дата:
Сообщение: Re: Baffled by basic permission issue.
Следующее
От: Ni Ne
Дата:
Сообщение: Assistance setting up LDAPS authentication for pgadmin4