Am 01.11.2006 um 14:09 Uhr haben Sie geschrieben: > > > If I understand it right, Trac keeps a list of users which is based on > > who has logged on and registered himself. > > True. > > > but I should add a new user (which stands for a whole team and not a > > person and thus there is no login authentication for that user). > > If there is no authentication for that user, then it will be > considered as the "anonymous" user, i.e. will have the same rights as > the anonymous user - any user which has access to your Trac service. > > I'm not sure to understand what to want to achieve, but without > authentication, any user that browses your web site will be able to > 'create' a user entry in the DB. Same if someone in the team makes a > typo when typing the "team" user....
Sorry, I was unprecise in my description, I guess ;-) What I meant is not to switch off authentication... What I want to do is to create this team user in the user database and make it owner of all components. But since we have an authentication mechanism with a smart card in place and the user name is handed on automatically to the Trac by the web server authentication plugin, I cannot log in as a different user than my personal one. (Otherwise, of course, I would just log in as the team user and register an email address for it.) However I do have access to the database file, and so I figured it may be the easiest to just add the team user to the database directly (by logging into the database and using SQL). However for this I need to be sure where to add what data (as far as I now it's a user name and an e-mail address... but maybe more). > > So my question: is it possible to artificially add a user by directly > > adding it to the Trac database? > > You don't need to tweak the database: from the main page, create or > update a ticket or a wiki page, and replace 'anonymous' with the real > name of your "team" user: an entry will be added in the database. Well, as I explained above I'm not anonymous but logged in as my personal user via the smart card authentication mechanism. However I tried to generate a ticket on behalf of the team user as well as modifying a wiki page with replacing my own user name by the team user... but the team user still does not seem to be in the user database... at least the team user does not appear in the "assign to" list of the "new ticket" dialog as I want it to. And this list is generated from the user list, isn't it? Thank you very much for your assistance. Regards, Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users -~----------~----~----~----~------~----~------~--~---
