Re: Views and permissions

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: Christian Schröder *EXTERN* <cs(at)deriva(dot)de>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Views and permissions
Date: 2008-01-22 08:04:35
Message-ID: D960CB61B694CF459DCFB4B0128514C2D2C68C@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christian Schröder wrote:
> Indeed, you are right! Granting select permission to the "ts_frontend"
> user (more precisely: granting membership to the "zert_readers" role)
> solved the problem.
>
>> This is strange because ts_frontend can select from "EDITORS" because
>> of the membership to role zert_readers.
>
> No, the user "ts_frontend" is (was) not a member of the group
> "zert_readers", but the user "www" who uses the view is.

My mistake, I got confused in your role hierarchy.
Anyway, the problem is solved, and the cause is clear :^)

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2008-01-22 08:26:24 Re: Stored procedures when and how: was: Sun acquires MySQL
Previous Message Sim Zacks 2008-01-22 08:00:33 Re: create a limited user in Postgre