Re: Proposal: allow database-specific role memberships

Поиск
Список
Период
Сортировка
Искать
От
Stephen Frost
Тема
Re: Proposal: allow database-specific role memberships
Дата
Msg-id
20211011160504.GB20998@tamriel.snowman.net
Ответ на
Список
Дерево обсуждения
Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships "David G. Johnston" <david.g.johnston@gmail.com>
Re: Proposal: allow database-specific role memberships Stephen Frost <sfrost@snowman.net>
Re: Proposal: allow database-specific role memberships "David G. Johnston" <david.g.johnston@gmail.com>
Re: Proposal: allow database-specific role memberships Stephen Frost <sfrost@snowman.net>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships Asif Rehman <asifr.rehman@gmail.com>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships Daniel Gustafsson <daniel@yesql.se>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships Julien Rouhaud <rjuju123@gmail.com>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships "David G. Johnston" <david.g.johnston@gmail.com>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships Julien Rouhaud <rjuju123@gmail.com>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships Julien Rouhaud <rjuju123@gmail.com>
Re: Proposal: allow database-specific role memberships Andres Freund <andres@anarazel.de>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships Greg Stark <stark@mit.edu>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships Antonin Houska <ah@cybertec.at>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships Antonin Houska <ah@cybertec.at>
Re: Proposal: allow database-specific role memberships Kenaniah Cerny <kenaniah@gmail.com>
Re: Proposal: allow database-specific role memberships Ibrar Ahmed <ibrar.ahmad@gmail.com>
Re: Proposal: allow database-specific role memberships Michael Paquier <michael@paquier.xyz>
Re: Proposal: allow database-specific role memberships Isaac Morland <isaac.morland@gmail.com>
Greetings,

* David G. Johnston (david.g.johnston@gmail.com) wrote:
> On Monday, October 11, 2021, Stephen Frost  wrote:
> > I don't think "just don't grant access to those other databases"
> > is actually a proper answer- there is certainly a use-case for "I want
> > user X to have read access to all tables in *this* database, and also
> > allow them to connect to some other database but not have that same
> > level of access there."
> 
> Sure, that has a benefit.  But creating a second user for the other
> database and putting the onus on the user to use the correct credentials
> when logging into a particular database is a valid option  - it is in fact
> the status quo.  Due to the complexity of adding a whole new grant
> dimension to the system the status quo is an appealing option.  Annoyance
> factor aside it technically solves the per-database permissions problem put
> forth.

I disagree entirely that forcing users to have multiple accounts and to
deal with "using the correct one" is at all reasonable.  That's an utter
hack that results in a given user having multiple different accounts-
something that gets really ugly to deal with in enterprise deployments
which use any kind of centralized authentication system.

No, that's not a solution.  Perhaps there's another way to implement
this capability that is simpler than what's proposed here, but saying
"just give each user two accounts" isn't a solution.  Sure, it'll work
for existing released versions of PG, just like there's a lot of things
that people can do to hack around our deficiencies, but that doesn't
change that these are areas which we are lacking and where we should be
trying to provide a proper solution.

Thanks,

Stephen
В списке pgsql-hackers по дате отправления
От: David G. Johnston
Дата:
От: Andrey Borodin
Дата:
FAQ