Re: permission to create user - Mailing list pgsql-general

From John DeSoi
Subject Re: permission to create user
Date
Msg-id 4A70A579-1C68-44B1-B7EE-A06747A7A87B@pgedit.com
Whole thread Raw
In response to permission to create user  (Timothy Smith <timothy@open-networks.net>)
Responses Re: permission to create user  (Michael Fuhr <mike@fuhr.org>)
Re: permission to create user  (Rafal Pietrak <rafal@zorro.isa-geek.com>)
Re: permission to create user  (Rafal Pietrak <rafal@poczta.homelinux.com>)
List pgsql-general
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.


http://www.postgresql.org/docs/8.1/interactive/sql-createfunction.html




John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-general by date:

Previous
From: "polder_udo"
Date:
Subject: postgreSQL installation
Next
From: Michael Fuhr
Date:
Subject: Re: permission to create user