A good way to test for group membership? - Mailing list pgsql-general

From Neal Lindsay
Subject A good way to test for group membership?
Date
Msg-id 5.1.0.14.0.20011119131708.009f0280@209.119.92.23
Whole thread Raw
List 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


pgsql-general by date:

Previous
From: Cristóvão Dalla Costa
Date:
Subject: Re: GUI?
Next
From: Joel Burton
Date:
Subject: Re: [PHP] psql with PHP question