Queries that return permissions

From: Thom Dyson <TDyson(at)sybex(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Queries that return permissions
Date: 2004-02-13 17:51:36
Message-ID: OF733211D3.38B30848-ON88256E39.0061C538-88256E39.00621BC1@sybex.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

I'm laying the ground work to migrate a database to a web front end. One
thing I would like is, when generating the HTML, to display read-only
fields as text, while fields that are updateable as input fields, based on
the permissions that the user has to the table. This way a given user
would not be confused trying to change data they have no permission to.

Does anyone know where there is code that will do this sort of thing?

Thom Dyson
Director of Information Services
Sybex, Inc.

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Joe Conway 2004-02-13 18:15:05 Re: Queries that return permissions
Previous Message Mark Gibson 2004-02-13 09:30:55 Re: How To Connect to another Database inside a plpgsql function