Re: Problems with adduser

Torsten Bronger <[email protected]> Sun, 19 Jun 2011 10:29:03 +0200
Newsgroups gmane.text.refdb.general
Organization Phoenix Foundation
Message-ID <[email protected]>
Hall=F6chen!

Markus Hoenicka writes:

> [...]
>
> which PosgreSQL server version do you use?

8.4.8

> [...]
>
> Right after adding a user, it does not show up in the listuser
> output because of the way RefDB checks for the presence of a
> user. It does not query the database engine's access control
> because some engines do not have such a thing. Instead, RefDB
> checks whether or not the requested user has entries in the
> reference database. So you should think of the listuser output as
> "users that have entries" rather than as "users that have access".

My Web frontend creates RefDB users for every user which is added to
the Web frontend.  My idea was to check with "listuser" whether a
user is already in the references DB.  If this doesn't work, is it
okay to add a user (possibly) multiple times?

Besides this, if I use "adduser", the new user appears amongst the
"login roles" of PostgreSQL, but not in the t_user table.  This is
not correct, is it?

Tsch=F6,
Torsten.

-- =

Torsten Bronger    Jabber ID: [email protected]
                                  or http://bronger-jmp.appspot.com


---------------------------------------------------------------------------=
---
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev