| От | Michael Fuhr |
|---|---|
| Тема | Re: permission to create user |
| Дата | |
| Msg-id | 20060717122318.GA3723@winnie.fuhr.org обсуждение |
| Ответ на | Re: permission to create user (John DeSoi <desoi@pgedit.com>) |
| Список | pgsql-general |
On Mon, Jul 17, 2006 at 07:54:08AM -0400, John DeSoi wrote: > On Jul 17, 2006, at 2:56 AM, Timothy Smith wrote: > >is it possible to give a non super user the ability to create > >another user of a different group? > >i'm looking for a way to assign a special group of admin's just > >enough rights to create other lowbie users without letting them > >bypass all other access restrictions. > > You could create a function with the SECURITY DEFINER option which > allows the function to be executed with the privileges of the user > that created it. Also, if you're using 8.1, then giving certain roles the CREATEROLE attribute might be what you're after. http://www.postgresql.org/docs/8.1/interactive/role-attributes.html -- Michael Fuhr
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера