From: Pavel Luzanov <p.luzanov@postgrespro.ru>
To: Dominique Devienne <ddevienne@gmail.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Lok P <loknath.73@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Users and object privileges maintenance
Date: Sun, 18 Feb 2024 17:27:09 +0300
Message-ID: <459ef527-5d83-4bed-90d5-4bbabc1da91c@postgrespro.ru> (raw)
In-Reply-To: <CAFCRh--s3nN+dUtbCQJQpVg8CZY+TK718AqPO5YZSExd0zacOQ@mail.gmail.com>
References: <CAKna9VbjA+2t-st_cxBMhXbAes6HXOR7z=x3Y9QFdkB9VdE8ww@mail.gmail.com>
<CAFCRh--DFkh0YaUZ=0c+BRQPHy8Z4Bzvd9B7cBTR-r05=EfJLA@mail.gmail.com>
<f0f9df4899792379b78e1348a6a876a54d3b4f25.camel@cybertec.at>
<CAFCRh--s3nN+dUtbCQJQpVg8CZY+TK718AqPO5YZSExd0zacOQ@mail.gmail.com>
On 18.02.2024 15:19, Dominique Devienne wrote:
> On Sun, Feb 18, 2024 at 12:30 PM Laurenz Albe
> <laurenz.albe@cybertec.at> wrote:
>
> 2. In PostgreSQL, there is the important concept of ownership,
> which is not tied to the schema.
> The owner is the user who created the object.
>
>
> Personally I find that confusing. I wouldn't mind schema objects all
> belonging to the one owner.
> Or being to enforce that, as an opt-in option. Not sure what's the
> benefits of different owners for a schemas objects are.
The situation is even more confusing :-)
Roles with membership in object owner role acts as an owner.
For example they can modify or drop object or grant/revoke access to object.
--
Pavel Luzanov
Postgres Professional:https://postgrespro.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: p.luzanov@postgrespro.ru, ddevienne@gmail.com, laurenz.albe@cybertec.at, loknath.73@gmail.com
Subject: Re: Users and object privileges maintenance
In-Reply-To: <459ef527-5d83-4bed-90d5-4bbabc1da91c@postgrespro.ru>
References: <CAKna9VbjA+2t-st_cxBMhXbAes6HXOR7z=x3Y9QFdkB9VdE8ww@mail.gmail.com> <CAFCRh--DFkh0YaUZ=0c+BRQPHy8Z4Bzvd9B7cBTR-r05=EfJLA@mail.gmail.com> <f0f9df4899792379b78e1348a6a876a54d3b4f25.camel@cybertec.at> <CAFCRh--s3nN+dUtbCQJQpVg8CZY+TK718AqPO5YZSExd0zacOQ@mail.gmail.com> <459ef527-5d83-4bed-90d5-4bbabc1da91c@postgrespro.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox