wiki:SelfDeletePlugin

Delete wiki pages and attachments you created

Description

This plugin allows users to delete wiki pages and wiki/ticket attachments that they created. Does not yet cover tickets, but if there is demand I can try to add it.

Bugs/Feature Requests

Existing bugs and feature requests for SelfDeletePlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out SelfDeletePlugin from here using Subversion, or browse the source with Trac.

Example

First enable it:

[components]
selfdelete.* = enabled

Add it to the list of active permissions policies:

[trac]
permission_policies = SelfDeletePolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy

If using AuthzPolicy, it should come before SelfDeletePolicy in the list.

Grant any users you want the WIKI_DELETE_SELF or TICKET_DELETE_SELF permissions.

Recent Changes

[14327] by rjollos on 2014-12-14 21:26:10
2.0dev: Rewrite of plugin to support Trac 0.11 and later. Fixes #3821.

The plugin implement IPermissionPolicy, and must therefore be added to the list of permission_policies in the [trac] section of trac.ini.

[14325] by rjollos on 2014-12-14 21:25:57
2.0dev: Added license and PEP-0008 changes.
[14324] by rjollos on 2014-12-14 20:29:28
New branch trunk for supporting Trac 1.0 and later.

Author/Contributors

Author: coderanger
Maintainer: none (needsadoption)
Contributors: rjollos

Last modified 2 weeks ago Last modified on Dec 14, 2014, 9:31:39 PM