Re: [GENERAL] LYDB: Feasible to use PG roles instead ofapplication-level security?

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: [GENERAL] LYDB: Feasible to use PG roles instead ofapplication-level security?
Дата
Msg-id 20161230170512.4ffehusg6wpzrefr@hermes.hilbert.loc
обсуждение исходный текст
Ответ на Re: [GENERAL] LYDB: Feasible to use PG roles instead ofapplication-level security?  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-general
On Fri, Dec 30, 2016 at 10:23:44AM -0500, Stephen Frost wrote:

> One area that isn't fully addressed with the PG auth model today is
> partial access to a certain column.  Consider a table where you want
> users to have access to all of the rows and all of the columns *except*
> for column X for rows where ID is > 1000.  The PG auth model today can
> be used to say "you can't access column X" or to say "you can't access
> rows where ID > 1000" but you can't combine those, yet.

Do you mean that there is currently no way to say:

    if special_column is NOT in the SELECT list:
        show all rows
    if special_column IS in the SELECT list:
        show only those rows where special_column > 1000

?

Thanks,
Karsten
--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: [GENERAL] Default column value [ANSWERED]
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: [GENERAL] Default column value