Re: Defining permissions for tables, schema etc..

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Defining permissions for tables, schema etc..
Дата
Msg-id 4B20AF9C.2000500@hogranch.com
обсуждение исходный текст
Ответ на Defining permissions for tables, schema etc..  (dipti shah <shahdipti1980@gmail.com>)
Ответы Re: Defining permissions for tables, schema etc..  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-general
dipti shah wrote:
> Hi,
>
> We have started using PostGreSQL for more than 3 months and it looks
> awesome. Currently, we have been suing superuser by default as login
> account. Now, the users are getting increased and we want to go away
> with using superuser by default. We want to create the separate user
> account for every users and want to define the permission for each of
> them. For example, we want particular user cannot create schema, he
> can create tables only in particular schema, he can updates only few
> tables and also updates only few columns etc. In short, we want
> to define all available permission options. I am not aware of anything
> starting from creating new user account to assigning column level
> permissions. Could anyone please help me to start with this. What is
> the best way to start?
>


there are no per column privileges in postgres, but the rest of what
you're asking for is pretty straight forward.

permissions are managed with the GRANT and REVOKE commands, which can
operate on databases, schemas, tables, sequences, functions, and views.
and probably a few more things I'm not thinking of.



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

Предыдущее
От: Ashish Karalkar
Дата:
Сообщение: Re: Defining permissions for tables, schema etc..
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Defining permissions for tables, schema etc..