| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Adds permission TICKET_ATTACHMENT_DELETE, so deleting attachments can be done without giving permission TICKET_ADMIN = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | Adds permission `TICKET_ATTACHMENT_DELETE` for exclusive right to delete and replace |
| 8 | attachments, regardless who added / changed it. |
| 9 | |
| 10 | Everybody who has permission `TICKET_ATTACHMENT_DELETE` can delete / replace attachments, |
| 11 | regardless who added / changed it. |
| 12 | |
| 13 | Once this plugin is enabled, you'll have to insert it at the appropriate |
| 14 | place in your list of permission policies, e.g. |
| 15 | {{{ |
| 16 | [trac] |
| 17 | permission_policies = AttachmentDeletePolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy |
| 18 | }}} |
| 19 | |
| 20 | == Bugs/Feature Requests == |
| 21 | |
| 22 | Existing bugs and feature requests for AttachmentPolicyPlugin are |
| 23 | [report:9?COMPONENT=AttachmentPolicyPlugin here]. |
| 24 | |
| 25 | If you have any issues, create a |
| 26 | [http://trac-hacks.org/newticket?component=AttachmentPolicyPlugin&owner=framay new ticket]. |
| 27 | |
| 28 | == Download == |
| 29 | |
| 30 | Download the zipped source from [download:attachmentpolicyplugin here]. |
| 31 | |
| 32 | == Source == |
| 33 | |
| 34 | You can check out AttachmentPolicyPlugin from [http://trac-hacks.org/svn/attachmentpolicyplugin here] using Subversion, or [source:attachmentpolicyplugin browse the source] with Trac. |
| 35 | |
| 36 | == Example == |
| 37 | |
| 38 | Important: in order to work correctly, the module has to be placed in your list of permission policies, e.g. |
| 39 | {{{ |
| 40 | [trac] |
| 41 | permission_policies = AttachmentDeletePolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy |
| 42 | }}} |
| 43 | |
| 44 | == Recent Changes == |
| 45 | |
| 46 | [[ChangeLog(attachmentpolicyplugin, 3)]] |
| 47 | |
| 48 | == Author/Contributors == |
| 49 | |
| 50 | '''Author:''' [wiki:framay] [[BR]] |
| 51 | '''Maintainer:''' [wiki:framay] [[BR]] |
| 52 | '''Contributors:''' |