Re: Bug in Role support?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug in Role support?
Дата
Msg-id 14497.1131123202@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug in Role support?  ("Florian G. Pflug" <fgp@phlo.org>)
Список pgsql-general
"Florian G. Pflug" <fgp@phlo.org> writes:
> grant admin to fgp ;

> The last statement fails with "role "admin" is a member of role "fgp" -
> but I believe it is not.

> Did I do something wrong, or is this really a bug?

Looks like a bug to me too.  I think it's coming from the fact that
is_member_of_role() thinks superusers are members of every role
ex officio ... which is true for permission checking purposes but
we don't want that rule applied here.  Will fix.

            regards, tom lane

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

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Bug in Role support?
Следующее
От: Alex Turner
Дата:
Сообщение: Re: Changing ids conflicting with serial values?