role with "CREATEDB" and "CREATEROLE" without effect on GUI

Поиск
Список
Период
Сортировка
От Thomas Sondag
Тема role with "CREATEDB" and "CREATEROLE" without effect on GUI
Дата
Msg-id 2354aa530605170219r185a194id545a50d92315ab7@mail.gmail.com
обсуждение исходный текст
Список pgadmin-support
Hi,

I would like to create an admin account without "SUPERUSER" rights to
manage databases and users creations without risk.

SQL :
CREATE ROLE admin WITH NOSUPERUSER CREATEDB CREATEROLE INHERIT LOGIN
ENCRYPTED PASSWORD 'mot_de_passe';

SQL under "admin" with psql :
CREATE ROLE production WITH NOLOGIN;
GRANT production TO admin;
CREATE DATABASE production WITH OWNER = production;

Work fine.

But with PgAdmin I doesn't have acces to create role and create
database menu when I login with the admin account.

I suppose this is a bug ?

Thanks
   Thomas

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

Предыдущее
От: "Hank Hsiung"
Дата:
Сообщение: autovacuum?
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: role with "CREATEDB" and "CREATEROLE" without effect on GUI