Re: Revoke Connect Privilege from Database not working
| От | Nathan Bossart |
|---|---|
| Тема | Re: Revoke Connect Privilege from Database not working |
| Дата | |
| Msg-id | aXDwtbXCu42Fdmrn@nathan обсуждение исходный текст |
| Ответ на | Re: Revoke Connect Privilege from Database not working (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Revoke Connect Privilege from Database not working
|
| Список | pgsql-bugs |
On Tue, Jan 20, 2026 at 06:05:41PM -0500, Tom Lane wrote: > Motivated by the discussion at [1], I'd started on the same idea, > but arrived at a rather different refactorization. I think this > way is nicer (less duplicated logic). Either way, we need to > address the docs and probably add more regression tests. Yeah, I think doing most of the work in select_best_grantor() is obviously better. I recall wondering whether we should check for INHERIT or SET privilege (or both) on the grantor role, and IIRC I settled on INHERIT because select_best_grantor() searches through roles we have INHERIT on. Would you like to handle docs/tests/committing, or shall I? -- nathan
В списке pgsql-bugs по дате отправления: