Re: SUPERUSER vs CREATEUSER causes foul 'code smell'

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: SUPERUSER vs CREATEUSER causes foul 'code smell'
Дата
Msg-id 200708161747.41596.peter_e@gmx.net
обсуждение исходный текст
Ответ на SUPERUSER vs CREATEUSER causes foul 'code smell'  (Joshua_Kramer <josh@globalherald.net>)
Список pgsql-sql
Am Donnerstag, 16. August 2007 17:36 schrieb Joshua_Kramer:
> In the pg_users view - is there a way to differentiate between a role with
> SUPERUSER priveleges, and a user who merely has the CREATEUSER flag?

No, because they are the same.

> If I want to create a role who can create other roles, but not have other
> SUPERUSER priveleges - how can I do that?

See CREATEROLE privilege.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: "Rodrigo De León"
Дата:
Сообщение: Re: SUPERUSER vs CREATEUSER causes foul 'code smell'
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SUPERUSER vs CREATEUSER causes foul 'code smell'