wiki:SelfDeletePlugin

Version 8 (modified by figaro, 8 years ago) (diff)

Cosmetic changes

Delete wiki pages and attachments you created

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin allows users to delete wiki pages and wiki/ticket attachments that they created. It 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.

enhancement

2 / 2

Download

Download the zipped source from here.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Example

First enable it by adding the following to your trac.ini file:

[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

17561 by rjollos on 2019-11-17 19:59:49
TracSelfDelete 2.1: Remove unused import
17560 by rjollos on 2019-11-17 19:48:06
TracSelfDelete 2.1: Consult other permission policies if result is not true

This allows the standard policies to continue functioning
normally when SelfDeletePolicy is used, allowing users
with TRAC_ADMIN, TICKET_ADMIN and WIKI_DELETE
to delete attachments.

Check attachment author to determine if user can
delete the attachment.

Fixes #13652.

16755 by rjollos on 2017-08-25 18:47:05
TracSelfDelete 2.0: Prepare for release
(more)

Author/Contributors

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