A good way to test for group membership?

From: Neal Lindsay <neal(dot)lindsay(at)peaofohio(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: A good way to test for group membership?
Date: 2001-11-19 18:27:34
Message-ID: 5.1.0.14.0.20011119131708.009f0280@209.119.92.23
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello all,

I am creating a PHP-based time-tracking program for my company. I use
user groups to restrict access to tables and I don't want to look somewhere
else to tell if the current user is, say, a manager. I currently use dummy
tables with select permissions given to certain groups and attempt select
statements on them, but there must be a better way. How does PostgreSQL do
it internally?

-Neal Lindsay

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Sabino Mullane 2001-11-19 18:47:51 Version checking when loading psql
Previous Message F Harvell 2001-11-19 18:00:11 Re: [HACKERS] bug or change in functionality in 7.2?