From pak03103@pixie.co.za Tue Mar 13 02:26:39 2001 Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f2D2Qdx24649 for ; Mon, 12 Mar 2001 21:26:39 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from smtp08.iafrica.com (smtp08.iafrica.com [196.2.51.8]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f29LKQx25533 for ; Fri, 9 Mar 2001 16:20:27 -0500 (EST) (envelope-from pak03103@pixie.co.za) Received: from enov01 ([196.30.235.68]) by smtp08.iafrica.com (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with SMTP id <0G9Y00L798LLLP@smtp08.iafrica.com> for pgsql-admin@postgresql.org; Fri, 9 Mar 2001 23:20:15 +0200 (SAT) Date: Fri, 09 Mar 2001 23:25:21 +0200 From: "justin.lipshitz" Subject: Permissions on Functions To: pgsql-admin@postgresql.org Message-id: <000801c0a8df$76624920$010000c8@enov01> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 5.00.2314.1300 Content-type: multipart/alternative; boundary="----=_NextPart_000_0005_01C0A8F0.35D2D1C0" X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Priority: 3 X-Archive-Number: 200103/99 X-Sequence-Number: 947 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C0A8F0.35D2D1C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Lets say I had a scenario, where a user A owns a number of tables Now A, only wants to allow access to those tables ( updates/ inserts) via a specific interface that is setup as functions owned by A How would you give permission to other users to make use of these funtions= ,=20 such that a user B would not have insert or update rights on any of the tab= les but would be able to perform thee functions via the functions available Justin Postgress Newbee ------=_NextPart_000_0005_01C0A8F0.35D2D1C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
Lets say I had a scenario, where a user A = owns a=20 number of tables
Now A, only wants to allow access to those= tables (=20 updates/ inserts) via
a specific interface that is setup as func= tions=20 owned by A
 
How would you give permission to other us= ers to=20 make use of these funtions, 
such that a user B would not have insert o= r update=20 rights on any of the tables but
would be able to perform thee functions vi= a the=20 functions available
 
Justin
 
Postgress Newbee
------=_NextPart_000_0005_01C0A8F0.35D2D1C0-- From anjo.doce.marilia@bol.com.br Mon Feb 11 13:48:03 2002 Received: from saulo.bol.com.br (saulo.bol.com.br [200.221.24.31]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1BDm2E38203 for ; Mon, 11 Feb 2002 08:48:03 -0500 (EST) (envelope-from anjo.doce.marilia@bol.com.br) Received: from bol.com.br (200.221.24.68) by saulo.bol.com.br (5.1.065) id 3C5981DC00233952 for pgsql-admin@postgresql.org; Mon, 11 Feb 2002 11:47:41 -0200 Date: Mon, 11 Feb 2002 11:47:41 -0200 Message-Id: Subject: Permissions on FUNCTIONS MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" From: "anjo.doce.marilia" To: pgsql-admin@postgresql.org X-XaM3-API-Version: 2.4.3.4.4 X-SenderIP: 200.230.89.78 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id g1BDowU38611 X-Archive-Number: 200202/105 X-Sequence-Number: 3264 Hello, I really need that my function execute SQL statments as your user creator permissions (the user thats created the function), and NOT with users permissions that start this function. Anyone could help-me, please ?? FELIZ CARNAVAL !!! __________________________________________________________________________ Quer ter seu próprio endereço na Internet? Garanta já o seu e ainda ganhe cinco e-mails personalizados. DomíniosBOL - http://dominios.bol.com.br From peter_e@gmx.net Mon Feb 11 19:13:52 2002 Received: from student.gvsu.edu ([148.61.7.124]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1BJDpE88822 for ; Mon, 11 Feb 2002 14:13:52 -0500 (EST) (envelope-from peter_e@gmx.net) Received: from [148.61.250.151] [148.61.250.151] by student.gvsu.edu with Novonyx SMTP Server $Revision: 2.74 $; Mon, 11 Feb 2002 14:13:46 -0500 (EDT) Date: Mon, 11 Feb 2002 14:16:23 -0500 (EST) From: Peter Eisentraut X-Sender: To: "anjo.doce.marilia" cc: Subject: Re: Permissions on FUNCTIONS In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200202/129 X-Sequence-Number: 3287 anjo.doce.marilia writes: > I really need that my function execute SQL statments as > your user creator permissions (the user thats created > the function), and NOT with users permissions that start > this function. I'm afraid this isn't possible yet. -- Peter Eisentraut peter_e@gmx.net