如何使用多项目 trac 在项目之间共享用户首选项?
我有一个多项目 trac 设置,可以完美地适用于任何单个项目,intertrac 链接也很好。我唯一的问题是我的用户必须提供他们对每个项目的偏好。有没有一种简单的方法可以解决这个问题并在项目之间共享用户首选项?
谢谢,维克托
I've a multiproject trac setup that works perfectly for any single project, intertrac links are fine too. My only problem is that my users have to provide their preferences for every project. Is there an easy way to get around this and have user preferences shared among projects?
thanks, Viktor
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该看看TracUserSyncPlugin,它就承诺了这一点。目前它被标记为“测试版”和“未完成”,因此您可能想加入以进行更多开发,但至少您将有一个起点。
You should take a look at the TracUserSyncPlugin that promise just that. Currently it's marked "beta" and "unfinished", so you may want to join in for more development, but at least you'll have a starting point.
据我所知,没有一种简单的方法可以做到这一点。然而,用户偏好数据存储在数据库中,因此应该可以编写一个脚本来同步不同数据库之间的偏好数据。
There's not an easy way to do this that I know of. However, user preference data is stored in the database so it should be possible to write a script that synchronizes the preference data between the different databases.