Обсуждение: Re: [HACKERS] Permissions not working?

Поиск
Список
Период
Сортировка

Re: [HACKERS] Permissions not working?

От
darcy@druid.net (D'Arcy J.M. Cain)
Дата:
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.