Re: Why is_admin_of_role() use ROLERECURSE_MEMBERS rather thanROLERECURSE_PRIVS?

Поиск
Список
Период
Сортировка
От preTham
Тема Re: Why is_admin_of_role() use ROLERECURSE_MEMBERS rather thanROLERECURSE_PRIVS?
Дата
Msg-id CAJUn_kMBrU==ajPWz+3tw6YtxfCQryXZePdANcL+OJFSM0K9Dw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Why is_admin_of_role() use ROLERECURSE_MEMBERS rather thanROLERECURSE_PRIVS?  ("cca5507" <cca5507@qq.com>)
Список pgsql-hackers
Hi,
the "permission denied" error does make sense from a user perspective as it details that.only roles with admin option for u2 can grant it. the patch also LGTM.

Regards,
Pretham

On Tue, Dec 23, 2025 at 11:52 AM cca5507 <cca5507@qq.com> wrote:
Hi,

Update some comments in v3.

(CC Pretham, we discuss it in [1])

[1]: https://www.postgresql.org/message-id/flat/CAJUn_kN%2BMhbb8fYP5xxQCq1KEziOinM6HgYx4ts_pPDnQ2y1nQ%40mail.gmail.com

--
Regards,
ChangAo Chen

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