[[PageOutline(2-5,Contents,pullout)]] = Adds permission to delete attachments == Description This plugin adds the exclusive right to delete and replace attachments, regardless of who added or changed the attachment. The plugin introduces the permission `TICKET_ATTACHMENT_DELETE`: any user with this permission can delete and replace attachments, regardless of who added or changed it. The creation of this plugin was inspired by t:#948. Note that users can delete their own attachments since Trac 1.3.2 if `LegacyAttachmentPolicy` is used ([trac:#12719]). See also: SelfDeletePlugin for an alternative to deleting attachments and AttachFilterPlugin for rejecting attachments. == Bugs/Feature Requests Existing bugs and feature requests for AttachmentPolicyPlugin are [report:9?COMPONENT=AttachmentPolicyPlugin here]. If you have any issues, create a [/newticket?component=AttachmentPolicyPlugin new ticket]. [[TicketQuery(component=AttachmentPolicyPlugin&group=type,format=progress)]] == Download Download the zipped source from [export:attachmentpolicyplugin here]. == Source You can check out AttachmentPolicyPlugin from [/svn/attachmentpolicyplugin here] using Subversion, or [source:attachmentpolicyplugin browse the source] with Trac. == Installation General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. == Configuration To work correctly, the module has to be placed in your list of permission policies in your `trac.ini` file: {{{#!ini [trac] permission_policies = AttachmentDeletePolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy }}} == Recent Changes [[ChangeLog(attachmentpolicyplugin, 3)]] == Author/Contributors '''Author:''' [wiki:framay] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:'''