0

如何在 trac 中添加/编辑组件列表。'trac.ini' 文件在哪里找到?

4

3 回答 3

5

如果您具有相应的管理员权限,则可以使用管理员 Web 界面编辑组件 (URL .../admin/ticket/components)。

trac.ini<projectenv>/conf/trac.ini.

于 2009-08-11T12:11:55.567 回答
4

组件列表不存储在 .ini 中,而是存储在数据库中。使用 Web 界面中的管理选项卡(以具有TRAC_ADMINTICKET_ADMIN权限的用户身份登录)来管理您的组件。或者,您可以使用 trac-admin 命令行实用程序添加和删除组件。

于 2009-08-12T15:28:34.780 回答
0

Permissions to components are managed using the Trac Permissions (TICKET_VIEW, BROWSER_VIEW, etc ..).

However, components (and plug-ins) can be enabled and disabled via trac.ini. Take a look at the components section of the TracIni documentation.

于 2009-08-31T09:06:47.147 回答