Re: pre-proposal: permissions made easier

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: pre-proposal: permissions made easier
Дата
Msg-id 1246214185.23359.41.camel@jdavis
обсуждение исходный текст
Ответ на Re: pre-proposal: permissions made easier  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pre-proposal: permissions made easier  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, 2009-06-28 at 14:32 -0400, Tom Lane wrote:
> Jeff Davis <pgsql@j-davis.com> writes:
> > My idea is to have a "GRANT mask":
> > CREATE ROLE foo_ro GRANT (SELECT ON TABLE, USAGE ON SCHEMA) FROM foo;
> 
> You haven't really explained what "foo" is here.  If it's a single
> object then I don't think this offers any leverage.  If it's a
> placeholder or class representative of some kind, then maybe, but
> in that case you've entirely failed to convey the point ...
> 

I meant for "foo" to be a user. "foo_ro" would be the read-only version,
who has a strict subset of foo's permissions.

Regards,Jeff Davis



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pre-proposal: permissions made easier
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pre-proposal: permissions made easier