Re: Views and permissions - Mailing list pgsql-general

From Albe Laurenz
Subject Re: Views and permissions
Date
Msg-id D960CB61B694CF459DCFB4B0128514C2D2C68C@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Re: Views and permissions  (Christian Schröder <cs@deriva.de>)
List 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

pgsql-general by date:

Previous
From: Sim Zacks
Date:
Subject: Re: create a limited user in Postgre
Next
From: "Merlin Moncure"
Date:
Subject: Re: Stored procedures when and how: was: Sun acquires MySQL