Contents
Adds permission TICKET_ATTACHMENT_DELETE, so deleting attachments can be done without giving permission TICKET_ADMIN
Description
Adds permission TICKET_ATTACHMENT_DELETE for exclusive right to delete and replace attachments, regardless who added / changed it.
Everybody who has permission TICKET_ATTACHMENT_DELETE can delete / replace attachments, regardless who added / changed it.
Once this plugin is enabled, you'll have to insert it at the appropriate place in your list of permission policies, e.g.
[trac] permission_policies = AttachmentDeletePolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy
Bugs/Feature Requests
Existing bugs and feature requests for AttachmentPolicyPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out AttachmentPolicyPlugin from here using Subversion, or browse the source with Trac.
Example
Important: in order to work correctly, the module has to be placed in your list of permission policies, e.g.
[trac] permission_policies = AttachmentDeletePolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy
Recent Changes
[13152] by rjollos on 05/17/13 03:01:23
Fixes #11085:
- Added BSD 3-Clause license with permission of author, adding license text in a COPYING file and adding headers to source code.
- Tidied up setup,py. Changed url to point to trac-hacks since this variable affects where defects are reported in the case that the user creates a ticket using the button on the Internal Error page.
[13142] by rjollos on 05/15/13 11:50:43
Removed empty 0.9 directory.
[10338] by framay on 06/20/11 16:14:21
initial commit for AttachmentPolicyPlugin (version 0.1.0)
[10337] by framay on 06/20/11 16:09:16
New hack AttachmentPolicyPlugin, created by framay
Author/Contributors
Attachments
- Attachment_Policy_Plugin-0.1.0-py2.6.egg (3.4 kB) -
Version 0.1.0 of AttachmentPolicyPlugin compiled with python 2.6 and tested under trac 0.12
, added by framay on 06/20/11 16:15:32.

