[Trac] Stupid newbie question: How do I add users?

Brad Anderson brad at dsource.org
Tue Aug 2 10:37:28 CDT 2005


Charlie Clark wrote:
> On 2005-08-02 at 14:46:16 [+0200], Brad Anderson <brad at dsource.org> wrote:
> 
>>>I'm currently working on extending this and using the a differentiate
>>>authentication method to store users in the database.
>>>
>>> 
>>>
>>
>>And I accomplished this by using "mod_auth_pgsql," however I have my
>>entire Trac environments in Postgres, which I think is rare at the
>>moment.  Users and groups all work fine in these tables, and
>>adding/managing them can easily be in a web interface.
> 
> 
> This is an interesting approach which I will look at. What do you mean by 
> the whole "environment"? You mean all your users are simultaneously 
> Postgres users? 

No, I mean that I don't make use of SQLite at all.  All Trac tables for
an env instance are in a PG database.  The users/groups are in a
separate database so they may be used across all envs.

> I will be moving to PostgreSQL once I've got up to speed 
> with Trac.
> 
> My approach is detailed in 
> http://trac-hacks.swapoff.org/wiki/RelationalRoleSupportPatch

Interesting.  I'm not sure how your role/role is handled in my approach
as I haven't tested groups within groups yet.  (It's been a while since
I worked on this, and only very basic stuff is in production now).

> 
> So I'm in favour of complete relational model in the database. How do you 
> cope with the evil custom fields in Trac?

Cope in what way?  I don't use many of them, just ticket
estimated/actual timings.

BA


More information about the Trac mailing list