Re: "with grant option" for user groups.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: "with grant option" for user groups.
Дата
Msg-id 200401091541.19984.peter_e@gmx.net
обсуждение исходный текст
Ответ на "with grant option" for user groups.  (Potuganti Ramu <ramup@aztec.soft.net>)
Список pgsql-hackers
> Following statement says that "with grant option" is not allowed to a user
> group. I would like to know what the reasons behind not implementing
> this kind of feature.

Consider the following sequence of steps:

in database 1:
user A grants privilege to group B with grant option
user C who is in group B grants privilege to user D

in database 2:
superuser removes user C from group B

--> user D still has the privilege, because superuser doesn't have access to  
database 1 from his session

If you can live with this problem, then you can remove the check from the 
source code and it should work.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Translations in the distributions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Translations in the distributions