Re: User privileges

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mihai Gheorghiu" <tanethq(at)earthlink(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: User privileges
Date: 2001-10-17 03:17:07
Message-ID: 24963.1003288627@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Mihai Gheorghiu" <tanethq(at)earthlink(dot)net> writes:
> It is possible that a user is a member of more than one group.
> Do this user's privileges AND or OR the privileges of each of the two
> groups?

OR. A user's privileges are always the union of what he has personally
and what he has via any group. See aclcheck() in
src/backend/catalog/aclchk.c: it keeps looking for any way to grant
permission.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Emmanuel SARACCO 2001-10-17 03:34:20 Re: Queries and views
Previous Message Mayan 2001-10-17 02:26:37 C++ Examples