wiki:SensitiveTicketsPlugin

Version 15 (modified by obs, 14 years ago) (diff)

--

Hide sensitive tickets with a checkbox

Notice: This plugin is unmaintained and available for adoption.

See also PrivateTicketsPlugin.

This hack is up for adoption

SensitiveTickets

Description

SensitiveTickets is a plugin that lets users mark tickets as "sensitive" with a checkbox on the ticket form. Sensitive tickets are viewable only to those with the SENSITIVE_VIEW permission.

It is based on the example vulnerability_tickets.py but uses a checkbox instead of text in the summary or keywords to mark a ticket as sensitive.

To use this plugin you will have to edit your trac.ini file to use the new SenstiveTicketsPolicy permission policy, e.g.:

[components]
sensitivetickets.* = enabled

[trac]
permission_policies = SensitiveTicketsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy

Needs an environment upgrade after enabling.

(TODO explain what LegacyAttachmentPolicy is, and why one should or should not include it.)

Hooks that send mail on ticket changes will still send mail for sensitive tickets; this may not be what you want.

Bugs/Feature Requests

Existing bugs and feature requests for SensitiveTicketsPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:sensitiveticketsplugin here].

Source

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

Example

A user submits a security related ticket to a project's Trac, which is generally open to the public. They mark it as "Sensitive" so that only people in the internal team that deal with security issues can see the ticket.

A team uses Trac to handle its business development tasks, but wants to leave the record open for all. Some tasks, however--say, dealing with difficult clients--are sensitive. Those tickets are marked as sensitive and hidden to others but viewable by the business development team.

Recent Changes

17648 by rjollos on 2020-01-11 06:05:42
TracSensitiveTickets 1.2.4: Add release command
17647 by rjollos on 2020-01-11 06:01:11
TracSensitiveTickets 1.2.4: Make compatible with Trac 1.4

Fixes #13719.

17591 by rjollos on 2019-11-23 19:09:29
TracSensitiveTickets 1.2.4dev: Bump version after release

pypi:TracSensitiveTickets/1.2.3 has been published.

Fixes #13681.

(more)

Author/Contributors

Author: sbenthall
Contributors: k0s