Re: Discovering privileges

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Discovering privileges
Дата
Msg-id 20050320155230.GA3935@wolff.to
обсуждение исходный текст
Ответ на Discovering privileges  (Murray Cumming <murrayc@murrayc.com>)
Ответы Re: Discovering privileges  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-interfaces
On Sun, Mar 20, 2005 at 15:50:30 +0100, Murray Cumming <murrayc@murrayc.com> wrote:
> I'm using the pg_user and pg_group system tables to discover the list of
> users, and the groups to which they belong.
> 
> But how can I discover the privileges that these users and groups have
> for the various tables. Is this also in one of the system tables?

In recent (7.4+ I think) versions of Postgres there are functions provided
for testing access to tables.

Look at table 9-40 in section 9.19 of the version 8 manual.


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

Предыдущее
От: Murray Cumming
Дата:
Сообщение: Discovering privileges
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Discovering privileges