Re: replacing role-level NOINHERIT with a grant-level option
От
Nathan Bossart
Тема
Re: replacing role-level NOINHERIT with a grant-level option
Дата
Msg-id
20220708210231.GA2447614@nathanxps13
Ответ на
Список
Дерево обсуждения
[PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Robert Haas <robertmhaas@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Stephen Frost <sfrost@snowman.net>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles "Bossart, Nathan" <bossartn@amazon.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles "Bossart, Nathan" <bossartn@amazon.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH v2] use has_privs_for_role for predefined roles Robert Haas <robertmhaas@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Tom Lane <tgl@sss.pgh.pa.us>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Andrew Dunstan <andrew@dunslane.net>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Joe Conway <mail@joeconway.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Joe Conway <mail@joeconway.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option tushar <tushar.ahuja@enterprisedb.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option tushar <tushar.ahuja@enterprisedb.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option tushar <tushar.ahuja@enterprisedb.com>
Re: replacing role-level NOINHERIT with a grant-level option tushar <tushar.ahuja@enterprisedb.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option tushar <tushar.ahuja@enterprisedb.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option tushar <tushar.ahuja@enterprisedb.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Noah Misch <noah@leadboat.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Pavel Luzanov <p.luzanov@postgrespro.ru>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option tushar <tushar.ahuja@enterprisedb.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Nathan Bossart <nathandbossart@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option "David G. Johnston" <david.g.johnston@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Stephen Frost <sfrost@snowman.net>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Stephen Frost <sfrost@snowman.net>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: replacing role-level NOINHERIT with a grant-level option Stephen Frost <sfrost@snowman.net>
Re: replacing role-level NOINHERIT with a grant-level option Robert Haas <robertmhaas@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Robert Haas <robertmhaas@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Robert Haas <robertmhaas@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Robert Haas <robertmhaas@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Robert Haas <robertmhaas@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Nathan Bossart <nathandbossart@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Robert Haas <robertmhaas@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Nathan Bossart <nathandbossart@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Stephen Frost <sfrost@snowman.net>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Robert Haas <robertmhaas@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Robert Haas <robertmhaas@gmail.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joe Conway <mail@joeconway.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles Joshua Brindle <joshua.brindle@crunchydata.com>
Re: [PATCH v2] use has_privs_for_role for predefined roles "Bossart, Nathan" <bossartn@amazon.com>
On Fri, Jul 08, 2022 at 03:56:56PM -0400, Robert Haas wrote: > For those who may not have read the entire thread, the current patch > does not actually remove the role-level option as the subject line > suggests, but rather makes it set the default for future grants as > suggested by Tom in > http://postgr.es/m/1066202.1654190251@sss.pgh.pa.us I think this is an interesting approach, as it seems to move things closer to the end goal (i.e., removing [NO]INHERIT), but it also introduces a pretty significant compatibility break. With this change, you cannot keep using [NO]INHERIT like you do today. You will also need to individually update each GRANT. The advantage of using [NO]INHERIT as the fallback value in the absence of a grant-level option is that users don't need to adjust behavior right away. They can essentially ignore the new grant-level options for now, although presumably they'd need to adjust at some point. IMO we should either retain compatibility for existing scripts for now, or we should remove [NO]INHERIT completely in v16. I'm worried that keeping [NO]INHERIT around while changing its behavior somewhat subtly is only going to create confusion. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления
От: Andrew Dunstan
Дата: