| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Adds ticket security policy based on component = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | This plugin was heavily inspired by cboos' [http://trac.edgewall.org/browser/trunk/sample-plugins/permissions/vulnerability_tickets.py vulnerability tickets] policy plugin. |
| 8 | |
| 9 | The authz policy mechanism provides fine-grained permissions for wiki pages. This plugin attempts to provide fine-grained permissions for tickets segmented by component. Specifically, unless a user has SECURE_TICKET_VIEW permissions, they will only be able to see tickets of public components. |
| 10 | |
| 11 | == Bugs/Feature Requests == |
| 12 | |
| 13 | Existing bugs and feature requests for SecureTicketsPlugin are |
| 14 | [report:9?COMPONENT=SecureTicketsPlugin here]. |
| 15 | |
| 16 | If you have any issues, create a |
| 17 | [http://trac-hacks.org/newticket?component=SecureTicketsPlugin&owner=robguttman new ticket]. |
| 18 | |
| 19 | == Download == |
| 20 | |
| 21 | Download the zipped source from [download:secureticketsplugin here]. |
| 22 | |
| 23 | == Source == |
| 24 | |
| 25 | You can check out SecureTicketsPlugin from [http://trac-hacks.org/svn/secureticketsplugin here] using Subversion, or [source:secureticketsplugin browse the source] with Trac. |
| 26 | |
| 27 | == Example == |
| 28 | |
| 29 | An example is if you have a customer account team who create and need full access to tickets with a 'customer' component but should not have access to any other tickets. The {{{trac.ini}}} file would look like this: |
| 30 | |
| 31 | {{{ |
| 32 | [components] |
| 33 | securetickets.* = enabled |
| 34 | |
| 35 | ... |
| 36 | |
| 37 | [securetickets] |
| 38 | public_components = customer |
| 39 | |
| 40 | ... |
| 41 | |
| 42 | [trac] |
| 43 | permission_policies = SecureTicketsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy |
| 44 | }}} |
| 45 | |
| 46 | |
| 47 | == Recent Changes == |
| 48 | |
| 49 | [[ChangeLog(secureticketsplugin, 3)]] |
| 50 | |
| 51 | == Author/Contributors == |
| 52 | |
| 53 | '''Author:''' [wiki:robguttman] [[BR]] |
| 54 | '''Maintainer:''' [wiki:robguttman] [[BR]] |
| 55 | '''Contributors:''' |