| 1 | = Virtual Permissons for the Owner/Reporter/CC'er of a ticket = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | There are three main permissions for this plugin: `TICKET_IS_REPORTER`, `TICKET_IS_CC`, and `TICKET_IS_OWNER`. `TICKET_IS_SELF` is an alias for all three of these. |
| 6 | |
| 7 | There are also group-based permissions: `TICKET_IS_REPORTER_GROUP`, `TICKET_IS_CC_GROUP`, and `TICKET_IS_OWNER_GROUP`. These work in a similar way to their non-group counterparts, except that you are granted access if you share a group with the target user. `TICKET_IS_GROUP` is an alias for all the group-based permissions (and therefore all the normal ones as well). |
| 8 | |
| 9 | == Bugs/Feature Requests == |
| 10 | |
| 11 | Existing bugs and feature requests for VirtualTicketPermissionsPlugin are |
| 12 | [report:9?COMPONENT=VirtualTicketPermissionsPlugin here]. |
| 13 | |
| 14 | If you have any issues, create a |
| 15 | [http://trac-hacks.org/newticket?component=VirtualTicketPermissionsPlugin&owner=normanr new ticket]. |
| 16 | |
| 17 | == Download == |
| 18 | |
| 19 | Download the zipped source from [download:virtualticketpermissionsplugin here]. |
| 20 | |
| 21 | == Source == |
| 22 | |
| 23 | You can check out VirtualTicketPermissionsPlugin from [http://trac-hacks.org/svn/virtualticketpermissionsplugin here] using Subversion, or [source:virtualticketpermissionsplugin browse the source] with Trac. |
| 24 | |
| 25 | == Example == |
| 26 | |
| 27 | In the `[ticket-workflow]` configuration: |
| 28 | {{{ |
| 29 | accept = new,accepted -> accepted |
| 30 | accept.permissions = TICKET_MODIFY,TICKET_IS_OWNER |
| 31 | }}} |
| 32 | Then the user can only accept the ticket if it has already been assigned to them. |
| 33 | |
| 34 | == Recent Changes == |
| 35 | |
| 36 | [[ChangeLog(virtualticketpermissionsplugin, 3)]] |
| 37 | |
| 38 | == Author/Contributors == |
| 39 | |
| 40 | '''Author:''' [wiki:normanr] [[BR]] |
| 41 | '''Contributors:''' |