Re: Superuser can't revoke role granted by non-superuser

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Superuser can't revoke role granted by non-superuser
Дата
Msg-id 391919.1737988993@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Superuser can't revoke role granted by non-superuser  (Alexander Kukushkin <cyberdemn@gmail.com>)
Список pgsql-bugs
Alexander Kukushkin <cyberdemn@gmail.com> writes:
> E.g. superuser is supposed to use "revoke bb from aa granted by b"

Exactly.  This is not a bug, you just did not correctly name the
privilege you're trying to revoke.

If memory serves, the default behavior for a superuser is that
we'll revoke the privilege as granted by the object owner, since
that's the most common case.  For everyone else, the default
assumption about "granted by" is "yourself".  Some edge cases
about this might have changed in v16, not sure.

            regards, tom lane



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