Problem with function permissions

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Problem with function permissions
Date: 2002-12-12 16:10:45
Message-ID: 03AF4E498C591348A42FC93DEA9661B8851B@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I had the following behaviour reported by a pgAdmin user on PostgreSQL
7.3 (reproduced here on 7.3rc1 as it's all I have right now):

dave=# create function dave.testfunc() returns int4 as 'select 1 + 2'
language sql;
CREATE FUNCTION
dave=# select proacl from pg_proc where proname = 'testfunc';
proacl
--------

(1 row)

dave=# grant execute on function dave.testfunc() to webmstrz;
GRANT
dave=# select proacl from pg_proc where proname = 'testfunc';
proacl
----------------------------
{=X,postgres=X,webmstrz=X}
(1 row)

I would not have expected public to now have execute permission. Any
reason for this, or is it a bug?

Regards, Dave.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-12-12 16:48:24 Re: Problem with function permissions
Previous Message Bruce Momjian 2002-12-12 15:45:56 Re: Please, apply patch for 7.3.1 and current CVS