Changes between Version 67 and Version 68 of SimpleMultiProjectPlugin
- Timestamp:
- Aug 26, 2016, 7:32:47 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SimpleMultiProjectPlugin
v67 v68 48 48 Actually, most database tables of Trac core related to resources would need a new column 'project_id'. This way tickets, components, milestones, versions or even wikis could attach to certain projects. Since a plugin just adds stuff but cannot change the core structure, it implements the new dimension 'project' not by adding a new column to each resource table but rather by adding several mapping tables smp_[resource]_project, each one mapping a certain resource to projects: 49 49 1. smp_milestone_project: the association of milestones to projects 50 1. smp_version_project: 50 1. smp_version_project: the association of versions to projects 51 51 1. smp_component_project: the association of components to projects 52 52 … … 57 57 Admin Interface: 58 58 59 60 [[Image(admin_project.png, 50%)]] 61 62 ---- 59 [[Image(admin_project.png, 50%, border=2)]] 63 60 64 61 Add project summary and description. This is displayed on the roadmap page as follows: 65 62 66 67 [[Image(admin_projects_modify.png, 50%)]] 68 69 ---- 63 [[Image(admin_projects_modify.png, 50%, border=2)]] 70 64 71 65 Associate a milestone with a project: 72 66 73 * Mapping milestones and versions to a project is supported 67 * Mapping milestones and versions to a project is supported: 74 68 * via main menu item "Admin" -> "Ticket System" -> "Milestones" / "Versions". 75 69 * Another way is doing it from the ''Roadmap'' page: … … 79 73 * Note: "New Ticket" with a chosen project only offers milestones and versions mapped to that certain project. 80 74 81 [[Image(edit_milestone.png, 50%)]] 82 83 ---- 75 [[Image(edit_milestone.png, 50%, border=2)]] 84 76 85 77 Group milestones and versions on the roadmap by project, show project summary and description in the header of the project box, and display only projects chosen in the filter box: 86 78 87 88 [[Image(roadmap_projects_filter.png, 50%)]] 89 90 ---- 79 [[Image(roadmap_projects_filter.png, 50%, border=2)]] 91 80 92 81 Display only tickets in the timeline of projects chosen in the filter box (adapted from TimelineComponentFilterPlugin): 93 82 83 [[Image(timeline_projects_filter.png, 50%, border=2)]] 94 84 95 [[Image(timeline_projects_filter.png, 50%)]]96 97 ----98 85 You also can include the Project Name in your Ticket Queries by adding a join to the `ticket_custom` table: 99 86 … … 156 143 }}} 157 144 1. Give permissions to certain users. Available permissions are: 158 - {{{ PROJECT_SETTINGS_VIEW }}}- you can see the list of projects with their description and their component mapping on the Admin panel159 - {{{ PROJECT_ADMIN }}}- full access, you can also create and delete projects, and map to milestones, versions and components145 - `PROJECT_SETTINGS_VIEW` - you can see the list of projects with their description and their component mapping on the Admin panel 146 - `PROJECT_ADMIN` - full access, you can also create and delete projects, and map to milestones, versions and components 160 147 1. Since plugin version 0.4 we support project-wise restriction of resources to a subset of users (#11367). Switch on the plugin component ''ProjectTicketsPolicy'' to activate it, and add the following to your `trac.ini` file: 161 148 {{{#!ini