Re: Granting privileges on views to group roles

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marc Balmer <marc(at)msys(dot)ch>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Granting privileges on views to group roles
Date: 2007-05-17 13:37:43
Message-ID: 23094.1179409063@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Marc Balmer <marc(at)msys(dot)ch> writes:
> I have two login roles, user_A and admin_A, and a group role, group_A.
> user_A is member of group_A

> I create a table t_data, owned by admin_A
> I create a view v_data, owned by admin_A
> Now I grant SELECT privilege on view v_data to group_A

> I would by now assume that user_A can SELECT data on v_data, but he can
> not.

Maybe you should show us exactly what you did, rather than a handwavy
description of what you think you did. The exact error message would
be handy too.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kenneth Downs 2007-05-17 13:45:18 Paypal and "going root"
Previous Message Tom Lane 2007-05-17 13:28:03 Re: Time Zone Error