wiki:SelfDeletePlugin

Version 6 (modified by Ryan J Ollos, 9 years ago) (diff)

Link to section.

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. 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 [download:selfdeleteplugin 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

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