I don't know how users get created properly to appear in the drop-down list in 
"vanilla" Trac, but I ended up having to create my own user administration 
system on top of Trac that does insert the proper records into the table. The 
only requirement beyond what my script (below) does is that the user must have 
TICKET_MODIFY, or belong to a group that does.

The script that my user-management system calls is below. The important part is 
updating the Trac database session_attribute table. I would check to see if 
this table was created properly by your Trac user.

#!/bin/bash
if [ "$#" -ne 5 ]
then
echo "$0 : Invalid number of parameters, $# given"
echo "Usage:"
echo " $0 project tracGroup username full_name email"
exit 1
fi

proj=$1
tracGroup=$2
username=$3
fullname=$4
email=$5

echo "Adding $username ($fullname<$email>) to $proj as a $tracGroup"
trac-admin $proj permission add $username $tracGroup
sqlite3 $proj/db/trac.db "insert into session( sid, authenticated, last_visit ) 
VALUES ( '$username', 1, 0 )"
sqlite3 $proj/db/trac.db "insert into session_attribute (sid, authenticated, 
name, value) VALUES ('$username', 1, 'name', '$fullname')"
sqlite3 $proj/db/trac.db "insert into session_attribute (sid, authenticated, 
name, value) VALUES ('$username', 1, 'email', '$email')"

Jason

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
Parisien
Sent: Thursday, February 07, 2008 5:00 AM
To: Trac Users
Subject: [Trac] Problème à affecter un ticket à un utilisateur Trac (Problem 
finding trac user reassining a ticket)


Please scroll down for english version
------------------------------------------------------------------------
Bonjour,
j'ai créé un utilisateur trac soit cet utilisateur "Paul", je l'ai
ajouté à un groupe qui existe déja ayant les droits pour voir un
ticket, créer un ticket, modifier un ticket, ...
Pour assigner un ticket j'ai une liste déroulante, j'arrive à voir
dans cette liste tous les utilisateurs de mon groupe sauf ce dernier
utilisateur "Paul". Cet utilisateur peut se connecter sur mon Trac, il
peut accepter des tickets, il peut créer des tickets mais il n'est pas
visible dans la liste des utilsiateurs (je ne peut pas lui affecter un
ticket)
j'ai vu la documentation et j'ai exactement suivi ce qu'ils disent
(http://trac.edgewall.org/wiki/TracTickets#Assign-toasDrop-DownList)
Merci de votre aide
-------------------------------------------------------------------------
Hello,
I have problem to find my user into "reassign_owner" drop down list !
i have create my user as "Paul" and after adding my user to a group
having all necessary permission. I can see all user of this group into
reassign drop down list except this new user "Paul".
This new user can log in my trac, can view ticket, create tickets,
accept tickets, ... but i can't reassign tickets to this user because
he is absent from my list.
this user "Paul" have all permission as shown in
http://trac.edgewall.org/wiki/TracTickets#Assign-toasDrop-DownList

thanks for your help.



--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to