On 12/23/24 19:32, David E. Wheeler wrote:
> Hi Tomáš & Daniele,
>
> On Dec 22, 2024, at 16:33, Tomáš Vondra <
tv.f...@gmail.com> wrote:
>
>> The thing that bothers me about the shared account is that if it's
>> my private user/password, it's possible to exfiltrate the user/
>> password and it'll work for all other distributions on PGXN. I'd
>> like a solution that (even if you exfiltrate the info) does not
>> provide access to any other distributions.
>
> There are two types of relationships between users and
> distributions: owners and co-owners. Owners can grant co-ownership
> to any other PGXN user, and that user will be able to make releases
> using their credentials. Well, to be more precise, I’ve yet to
> implement the feature to allow owners to make such grants, but I can
> execute the appropriate SQL function. So if you want to make someone
> else a co-owner, just tell me their username.
>
> One can also transfer ownership to another user. After the transfer,
> the old owner will not have the ability to publish new releases
> unless the new owner grants (er, asks me to execute the SQL to
> grant) the previous owner co-ownership.
>
> For your purposes, you could create a new PGXN account, say for the
> “org” name for your project, and then I can grant co-ownership or
> transfer ownership to it. Then you can use its credentials to
> publish the extension instead of yours.
>
Makes sense, thanks for the explanation. I'll consider these two
approaches. Luckily I only have one or two extensions where this would
Interesting. I imagined something much simpler, but JWT tokens with