Re: Views and Privileges - Mailing list pgsql-docs

From Robert Haas
Subject Re: Views and Privileges
Date
Msg-id AANLkTilmJK3f0mod7S5KH3M0gFstNdHOjladhhpe7SDI@mail.gmail.com
Whole thread Raw
In response to Views and Privileges  (Matthew Woodcraft <matthew@woodcraft.me.uk>)
List pgsql-docs
On Sat, Jun 26, 2010 at 6:11 AM, Matthew Woodcraft
<matthew@woodcraft.me.uk> wrote:
> The fact that views run with the privileges of the view owner is a bit
> hidden in the documentation.
>
> It isn't mentioned in /3.2 Views/, which makes sense as privileges
> haven't been introduced yet.
>
> It is explained in /37.4 Rules and Privileges/, but I think most people
> using views won't have reason to read the docs on rules.
>
> I can't find any other reference to it.
>
> How about having a section under /20. Database Roles and Privileges/ on
> views and privileges?

I don't see an obvious way to fit it in there, although it doesn't
seem like a bad idea.  I also wonder if we should mention something in
the reference pages for GRANT and REVOKE - at least a cross-reference
to the correct section of the documentation.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

pgsql-docs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: documentation build log is busted, and has been for awhile
Next
From: Bruce Momjian
Date:
Subject: Re: Documentation and explanatory diagrams