Re: Rights for view.

From: Rudy Young <yangchun(at)hotpop(dot)com>
To: Viacheslav N Tararin <taras(at)dekasoft(dot)com(dot)ua>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Rights for view.
Date: 2003-02-11 15:02:47
Message-ID: 3E491097.4090907@hotpop.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Select from view1 will be passed to table1(kinda like a symbolic link),
so you need
give user2 access to table1 too.

Viacheslav N Tararin wrote:

> Hi.
> Hext problem:
> I have table table1 with owner user1;
> I have view view1 based only on table1 owner user1 too.
> I have user2 which not own anything.
> user1 grant rights to select on view1 to user2.
>
> Why user2 when try select from view1 get 'table1: permission denied'?
>
> Thanks.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2003-02-11 15:19:05 Re: Deleting orphan records
Previous Message Viacheslav N Tararin 2003-02-11 14:23:32 Rights for view.