Grant select on view

Поиск
Список
Период
Сортировка
От thiemo
Тема Grant select on view
Дата
Msg-id E5D03356-4481-11D6-BA58-000A27D62F9E@gmx.ch
обсуждение исходный текст
Ответы Re: Grant select on view  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hi,


I try encapsulate my db in views such that users access it by the
views and only get to see the rows they are allowed to. However, I
created a view and put select select ricghts on it for the respective
users, but a select on it ends up with a permission denied. So, I
granted select rights on the base table, but to no avail. A select by
the users on the base table is no possible, but on the view it stays
denied.


What have I overlooked?


Thx


Thiemo

<fontfamily><param>Helvetica</param>

--

Thiemo Kellner

Tösstalstrasse 146

CH-8400 Winterthur

</fontfamily>Hi,

I try encapsulate my db in views such that users access it by the views
and only get to see the rows they are allowed to. However, I created a
view and put select select ricghts on it for the respective users, but a
select on it ends up with a permission denied. So, I granted select
rights on the base table, but to no avail. A select by the users on the
base table is no possible, but on the view it stays denied.

What have I overlooked?

Thx

Thiemo

--
Thiemo Kellner
Tösstalstrasse 146
CH-8400 Winterthur

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

Предыдущее
От: Jason Friedman
Дата:
Сообщение: Re: Backup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Grant select on view