| 156 | === Current trunk and releases 0.7.2+ |
| 157 | A new permission system is currently developed and the first implementation landed with [17810]. See ticket #13850 used for tracking the effort. |
| 158 | |
| 159 | To activate project restrictions add the following permission policy: |
| 160 | {{{#!ini |
| 161 | [trac] |
| 162 | permission_policies = SmpPermissionPolicy, ... any other ... |
| 163 | }}} |
| 164 | Make sure the new policy is the first in the list of available policies. |
| 165 | |
| 166 | Project permissions are assigned using the Trac permission admin panel. Each project has a unique ID which is not changing over the lifetime of a project, even if you change the project name. |
| 167 | |
| 168 | To give a user access to a project you have to give the permission '''Project_<id>_MEMBER''' where ''<id>'' is the unique project id. |
| 169 | |
| 170 | The following restrictions are currently in place: |
| 171 | * Ticket filtering. Users only see tickets belonging to projects they're a member of. Tickets of projects without restrictions are alway shown. |
| 172 | |
| 173 | This works for ticket pages and when doing custom queriers. |
| 174 | |
| 175 | === Legacy versions < 0.7.2 |