Per-Database Roles

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Per-Database Roles
Дата
Msg-id 20120522130439.GL1267@tamriel.snowman.net
обсуждение исходный текст
Ответ на Changing the concept of a DATABASE  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Per-Database Roles  (Thom Brown <thom@linux.com>)
Re: Per-Database Roles  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
* Simon Riggs (simon@2ndQuadrant.com) wrote:
> * Ability to have a Role that can only access one Database

Alright, I'd like to think about this one specifically and solicit
feedback on the idea that we keep the existing shared role tables but
add on additional tables for per-database roles.

In the past, I feel like we've been focused on the idea of moving all
roles to be per-database instead of per-cluster, which certainly has a
lot of problems associated with it, but in the end, I think people would
be really happy with some shared roles and some per-DB roles.

What would the semantics of that look like though?  Which is "preferred"
when you do a 'grant select' or 'grant role'?  Or do we just disallow
overlaps between per-DB roles and global roles?  If we don't allow
duplicates, I suspect a lot of the other questions suddenly become a lot
easier to deal with, but would that be too much of a restriction?  How
would you handle migrating an existing global role to a per-database
role?
Thanks,
    Stephen

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: heap metapages
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Changing the concept of a DATABASE