database permissions:how to create read only user for db

Поиск
Список
Период
Сортировка
От lexx@gorodok.net
Тема database permissions:how to create read only user for db
Дата
Msg-id 1655106625.20041225155456@gorodok.net
обсуждение исходный текст
Ответы Re: database permissions:how to create read only user for db  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-admin
Hello all.

Please help,
are there any way to set some (ex. deny creating tables) privileges on database (not for databases objects)?

I want crant full access to one user (let say "adminuser" for database "testdb") and make some others (read only)
users,
who can read only (do SELECT from "testdb" tables), but not CREATE tables or some database objects.

As I know CRANT command allows only set privileges for database objects but not for databases.

So, can I realize this using Postgres 7.1,
or it's not possible at all?

Thanks in advance.
/lexx/


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

Предыдущее
От: "John Jensen"
Дата:
Сообщение: Re: i need it
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: database permissions:how to create read only user for db