Permissions and views.

From: Dariusz Pietrzak <dariush(at)ajax(dot)umcs(dot)lublin(dot)pl>
To: unlisted-recipients:; (no To-header on input)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Permissions and views.
Date: 2001-05-04 12:05:19
Message-ID: Pine.LNX.4.10.10105041400110.19243-100000@ajax.umcs.lublin.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hello,
I am having this little annoying problem with permisions - there is a
table, with 'select' permision, and then there is a view with ALL
permisions on it.
When I update the view, I get 'permision denied' at source table, unless
I'm using user with ability to create databases/users.

>From logs:
010504.12:27:31.774 [2179] ProcessQuery
010504.12:27:31.779 [2179] query: SELECT oid FROM "jednostka" WHERE
"brcd" = $1 FOR UPDATE OF "jednostka"
010504.12:27:31.780 [2179] parser outputs:
010504.12:27:31.784 [2179] ERROR: jednostka: Permission denied.

but select oid FROM "jednostka" where "brcd" = 222; works fine. for
update clause makes the difference.

What's wrong?

--
xx xxx...
Dariusz Pietrzak http://eyck.tinet.pl
Eyck(at)irc(dot)pl dariush(at)ajax(dot)umcs(dot)lublin(dot)pl

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roderick A. Anderson 2001-05-04 12:30:31 Re: Invoices
Previous Message mlw 2001-05-04 12:02:52 Re: Metaphone function attachment

Browse pgsql-hackers by date

  From Date Subject
Next Message D'Arcy J.M. Cain 2001-05-04 12:10:28 Re: Re: Extrordinarily Poor Performance....
Previous Message mlw 2001-05-04 12:02:52 Re: Metaphone function attachment