1.Trac如何限制只能将任务分配给已经存在的用户
默认设置情况下,在分配传票时,“分配用户”选项(“Assign to:”/“reassign to”)里使用的是一个编辑框输入一个接受该传票的用户的名字。我们希望通过一个已有的用户列表来选择一个目标用户。
修改配置文件:/var/www/trac/conf/trac.ini ,找到[ticket]段修改
# Original item restrict_owner=false # Updated item restrict_owner=true
2.创建新的Trac/SVN项目 #trac-admin /home/trac/upitics initenv #chown -R svnroot:svnroot upitics/ #trac-admin /home/trac/upitics/ permission add svn_j TRAC_ADMIN #cd /home/trac/upitics/conf # vim trac.ini
[header_logo] alt = (please configure the [header_logo] section in trac.ini) height = -1 link = src = /trac/docomo_movie2/chrome/common/trac_logo.png width = -1
restrict_owner=true
[notification] always_notify_owner = true always_notify_reporter = true always_notify_updater = true smtp_enabled = true email_sender = SendmailEmailSender sendmail_path = /usr/sbin/sendmail smtp_from = notifier@example.com smtp_replyto = myproj@projects.example.com smtp_always_cc = mime_encoding = base64
|