> On Jul 23, 2021, at 1:54 PM, Robert Haas <robertmh...@gmail.com> wrote: > > Yeah, but you're inventing a system for allowing the restriction on a > GUC to be something other than is-superuser in the very patch we're > talking about. So it could be something like is-database-security. > Therefore I don't grok the objection. I'm not objecting to how hard it would be to implement. I'm objecting to the semantics. If the only non-superuser who can set the GUC is pg_database_security, then it is absolutely worthless in preventing pg_database_security from trapping actions performed by pg_network_security members. On the other hand, if pg_network_security can also set the GUC, then pg_network_security can circumvent audit logging that pg_database_security put in place. What's the point in having these as separate roles if they can circumvent each other's authority? — Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
- Re: Delegating superuser tasks to new security roles (Was: ... Robert Haas
- Re: Delegating superuser tasks to new security roles (... Stephen Frost
- Re: Delegating superuser tasks to new security roles (... Mark Dilger
- Re: Delegating superuser tasks to new security rol... Robert Haas
- Re: Delegating superuser tasks to new security... Mark Dilger
- Re: Delegating superuser tasks to new secu... Stephen Frost
- Re: Delegating superuser tasks to new... Mark Dilger
- Re: Delegating superuser tasks to new secu... Robert Haas
- Re: Delegating superuser tasks to new... Mark Dilger
- Re: Delegating superuser tasks to... Mark Dilger
- Re: Delegating superuser tasks to... Mark Dilger
- Re: Delegating superuser tasks to... Stephen Frost
- Re: Delegating superuser tasks to... Robert Haas
- Re: Delegating superuser tasks to... Robert Haas
- Re: Delegating superuser tasks to... Mark Dilger
- Re: Delegating superuser tasks to... Stephen Frost
- Re: Delegating superuser tasks to... Robert Haas
- Re: Delegating superuser tasks to... Tom Lane
- Re: Delegating superuser tasks to... Alvaro Herrera