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--