Re: some charts or graphs of possible permissions would be nice

From: Jürgen Purtz <juergen(at)purtz(dot)de>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: stephen(at)onethree(dot)bio
Subject: Re: some charts or graphs of possible permissions would be nice
Date: 2020-06-11 08:19:50
Message-ID: a8e0dae8-a6f5-d208-7304-2e98a8fd1cf0@purtz.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 10.06.20 17:53, Alvaro Herrera wrote:
> On 2020-Jun-10, Laurenz Albe wrote:
>
>> On Tue, 2020-06-09 at 21:34 +0000, PG Doc comments form wrote:
>>> Having read through the documentation on roles/granting I think I more or
>>> less understand how it works, but what isn't really clarified is what the
>>> overall universe of permissions that can be granted looks like. For example
>>> I still didn't realize that to create a schema, you need to "GRANT CREATE"
>>> to the role on the database before the role is allowed to do that. It's hard
>>> to make a mental map of everything that a new role might need when I am
>>> creating it.
>> That would be material for a tutorial rather than a documentation.
> ... but our documentation *does* have a tutorial, which could perhaps
> gain a section about privileges.
>
What permissions issues do users typically struggle with? I personally
have seen no problems in this area. Stephen sends one example; can you
send more examples - or even a short text or a sketch of what you expect
to be in the documentation?

More general: Is it a real problem? My experience is that in most cases
permissions are handled at the application level, not at the database
level. Is it worth to give more details? I don't think so. But it may be
a good idea to follow Stephen's suggestion and put an introductory
summary to the tutorial chapter.

--

Jürgen Purtz

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2020-06-11 17:39:55 Re: Signed-ness of ints is unclear in FE-BE protocol docs
Previous Message Melanie Plageman 2020-06-11 00:48:17 Re: Default setting for enable_hashagg_disk