Re: [HACKERS] Permissions not working? - Mailing list pgsql-hackers

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: [HACKERS] Permissions not working?
Date
Msg-id m0zT80M-0000emC@druid.net
Whole thread Raw
List pgsql-hackers
Thus spake darcy
> >     Here I assume user darcy has usesuper set in pg_shadow. Check
> >     and correct me if I'm wrong. The superuser flag is set if you
> >     allow darcy to create users on createuser time.
>
> Correct again.  I half suspected something like this.  Perhaps the
> prompt in createuser should be changed to reflect that the user is
> being granted full superuser privileges rather than just being able
> to create more users.

Should I send in the (trivial) diffs to effect this change?  I figure
to ask the following.

    "Does user "x" have superuser privileges? (y/n)"

--
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.

pgsql-hackers by date:

Previous
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: [HACKERS] Re: inet/cidr/bind
Next
From: Oleg Bartunov
Date:
Subject: What about LIMIT in SELECT ?