From: | "Richard Huxton" <dev(at)archonet(dot)com> |
---|---|
To: | "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: user/group creation privileges |
Date: | 2001-03-02 15:02:09 |
Message-ID: | 004401c0a329$c3860220$1001a8c0@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
From: "Martin A. Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
> I have a special question.
> I'm about to make a system that is going to have several users are going
to load
> data with a web interface. This users are gonna be on a special group that
will
> have privileges on the database.
> Now, I want to have on (or more) users to be able to create new users, put
them
> in this group and give them privileges to modify the database structure
(SELECT,
> INSERT, UPDATE, DELETE).
> How can I do this last part? I didn't find much on the GRANT manual.
>
> Saludos... :-)
When you run the "createuser" command-line program you can select many of
these permissions. I would be tempted to have one administration user
defined in PG that can do all of this, then define a separate admin section
of the website that is only accessible to the users you want.
This gives you more precise control over which users can do what.
- Richard Huxton
From | Date | Subject | |
---|---|---|---|
Next Message | Alasdair I MacLeod | 2001-03-02 15:06:43 | Re: Triggered data change violation |
Previous Message | Richard Huxton | 2001-03-02 14:56:43 |