Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlhNK-0006VR-SN for pgsql-admin@arkaria.postgresql.org; Thu, 20 Dec 2012 14:45:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TlhNJ-0005ty-FZ for pgsql-admin@arkaria.postgresql.org; Thu, 20 Dec 2012 14:45:29 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlhNI-0005tE-A8 for pgsql-admin@postgresql.org; Thu, 20 Dec 2012 14:45:28 +0000 Received: from qmta05.westchester.pa.mail.comcast.net ([2001:558:fe14:43:76:96:62:48]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlhNF-0006py-2w for pgsql-admin@postgresql.org; Thu, 20 Dec 2012 14:45:27 +0000 Received: from omta10.westchester.pa.mail.comcast.net ([76.96.62.28]) by qmta05.westchester.pa.mail.comcast.net with comcast id doNY1k0060cZkys55qlNJY; Thu, 20 Dec 2012 14:45:22 +0000 Received: from sz0093.wc.mail.comcast.net ([68.87.26.137]) by omta10.westchester.pa.mail.comcast.net with comcast id dqlN1k00X2xV5no3WqlNC7; Thu, 20 Dec 2012 14:45:22 +0000 Date: Thu, 20 Dec 2012 14:45:22 +0000 (UTC) From: Lou Picciano To: pgsql-admin@postgresql.org, Ray Stell Message-ID: <202373801.1595767.1356014722327.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> In-Reply-To: <20121220143127.GA7932@cns.vt.edu> Subject: Re: create role? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1595766_1067676111.1356014722326" X-Originating-IP: [::ffff:76.117.177.86] X-Mailer: Zimbra 6.0.13_GA_2944 (ZimbraWebClient - SAF3 (Mac)/6.0.13_GA_2944) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1356014722; bh=+KNsww7ZLdJ85W2vgSl6dxQ7dhTwk5/ehA9v5hNuRv0=; h=Received:Received:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type; b=ZaCqKRx/j6QZcE+3PDuGfR8TIc1ydKBtXMqpmk0X+9v+ua6GVkd8C33nlt+f20bY1 xbGnXFLW8D9BFeywUagXRbT9VMdvPviWsUI7+Aag5qrdqNZBJi9uAvx1K/sb4cn3TX fZ1kih61a4oKvgJgub/VvosFtGvMAjDTlght3wcSvCIxhjWfxc1MchI1l1gjMVPO9Z Cz9diB6XcukDHRKAAVlQ4sl4EcKoB8wd4gXNQ+ZiTj7IKOwYGp4J+mvh9XpAfKZV5J h4UP0IY0XjXILWNkr0YFHtYPFIFkcWbK92apziuQYNKS4GuvsQBunMduT6Om4jYQBp u7pY8z6MG3N8A== X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org ------=_Part_1595766_1067676111.1356014722326 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Ray, PostgreSQL has a very powerful implementation of the ROLE/privileges model. Its control can be very granular, and very intricate! You really want to review your application's privileges/security needs before doing GRANTs with abandon. To get what you need, though, the 'db user' simply needs the CREATEROLE privilege set. Lou Picciano ----- Original Message ----- From: "Ray Stell" To: pgsql-admin@postgresql.org Sent: Thursday, December 20, 2012 9:31:27 AM Subject: [ADMIN] create role? I have a app where the install guide says to give a db user the ability to create roles. "Ensure that the user has permission to create database objects and can create roles." How is that done...elegantly? Seems like the oracle idea of a role. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin ------=_Part_1595766_1067676111.1356014722326 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Verdana; font-size: 12pt; color: #000000'>Ray,
PostgreSQL has a very powerful implementation of the ROLE/= privileges model. Its control can be very granular, and very intricate! You really want to review your applicati= on's privileges/security needs before doing GRANTs with abandon.

To get what you need, though, the 'db user' simply ne= eds the CREATEROLE privilege set.

Lou Piccian= o


From: "Ray Stell" <stellr= @vt.edu>
To: pgsql-admin@postgresql.org
Sent: Thursd= ay, December 20, 2012 9:31:27 AM
Subject: [ADMIN] create role?
I have a app where the install guide says to give a db user the abilit= y to create roles.
"Ensure that the user has permission to create databa= se objects and can create roles."  
How is that done...elegantly? &= nbsp;Seems like the oracle idea of a role.


--
Sent via pgsql= -admin mailing list (pgsql-admin@postgresql.org)
To make changes to your= subscription:
http://www.postgresql.org/mailpref/pgsql-admin
<= /div> ------=_Part_1595766_1067676111.1356014722326--