Re: User privileges

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: User privileges
Дата
Msg-id 24963.1003288627@sss.pgh.pa.us
обсуждение исходный текст
Ответ на User privileges  ("Mihai Gheorghiu" <tanethq@earthlink.net>)
Список pgsql-general
"Mihai Gheorghiu" <tanethq@earthlink.net> writes:
> It is possible that a user is a member of more than one group.
> Do this user's privileges AND or OR the privileges of each of the two
> groups?

OR.  A user's privileges are always the union of what he has personally
and what he has via any group.  See aclcheck() in
src/backend/catalog/aclchk.c: it keeps looking for any way to grant
permission.

            regards, tom lane

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

Предыдущее
От: Emmanuel SARACCO
Дата:
Сообщение: Re: Queries and views
Следующее
От: Andrej Falout
Дата:
Сообщение: Re: A tool for making console/text data enrty/display screens in C