Re: BUG #5146: After granting all select privelges on view to user, who still can not select the view
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: "xqzhang" <zxq230104(at)163(dot)com>
- Cc: pgsql-bugs(at)postgresql(dot)org
- Subject: Re: BUG #5146: After granting all select privelges on view to user, who still can not select the view
- Date: Thu, 29 Oct 2009 09:51:00 -0400
- Message-id: <3975.1256824260@sss.pgh.pa.us> <text/plain>
"xqzhang" <zxq230104(at)163(dot)com> writes:
> Description: After granting all select privelges on view to user, who
> still can not select the view
You have a fundamental misconception about how that works. The
privilege checks for each view are applied with respect to the owner
of that view, not the current session user. So for example u3 needs
access to v2, not u4.
regards, tom lane
Home |
Main Index |
Thread Index