permissions question

From: "Roman Havrylyak" <roma(at)ukr(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: permissions question
Date: 2001-08-17 14:02:42
Message-ID: 9lj4gk$2he4$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Suppose we have table A and table B. When action is performed on table A
(for example INSERT), some action (for example UPDATE) through the trigger
is done on table B.

If user had permission on both tables (GRANT INSERT on table A and GRANT
UPDATE on table B)- everything is good. But in that way user can get access
to table B directly.

If I need to limit user's access to table B only through the trigger from
table A, how to do this?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-08-17 14:09:06 Re: Max number of tables in a db?
Previous Message Michael Ansley (UK) 2001-08-17 12:54:18 RE: Roll Back dont roll back counters