Re: fix and document CLUSTER privileges
От
Nathan Bossart
Тема
Re: fix and document CLUSTER privileges
Дата
Msg-id
20221214173435.GA690225@nathanxps13
Ответ на
Re: fix and document CLUSTER privileges (Robert Haas)
Список
Дерево обсуждения
fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Justin Pryzby <pryzby@telsasoft.com>
Re: fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Andrew Dunstan <andrew@dunslane.net>
Re: fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Robert Haas <robertmhaas@gmail.com>
Re: fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Gilles Darold <gilles@migops.com>
Re: fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Gilles Darold <gilles@migops.com>
Re: fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Gilles Darold <gilles@migops.com>
Re: fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Gilles Darold <gilles@migops.com>
Re: fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Gilles Darold <gilles@migops.com>
Re: fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Jeff Davis <pgsql@j-davis.com>
Re: fix and document CLUSTER privileges Nathan Bossart <nathandbossart@gmail.com>
Re: fix and document CLUSTER privileges Pavel Luzanov <p.luzanov@postgrespro.ru>
On Thu, Dec 08, 2022 at 04:08:40PM -0500, Robert Haas wrote: > On Thu, Dec 8, 2022 at 1:13 PM Nathan Bossart wrote: >> Currently, CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX (minus REINDEX >> SCHEMA|DATABASE|SYSTEM) require ownership of the relation or superuser. In >> fact, all three use the same RangeVarCallbackOwnsTable() callback function. >> My current thinking is that this is good enough. I don't sense any strong >> demand for allowing database owners to run these commands on all non-shared >> relations, and there's ongoing work to break out the privileges to GRANT >> and predefined roles. > > +1. > > I don't see why being the database owner should give you the right to > run a random subset of commands on any table in the database. Tables > have their own system for access privileges; we should use that, or > extend it as required. Here is a rebased version of the patch. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления