wiki:HideValsPlugin

Hide ticket field values

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin allows masking ticket field values (for all drop-down fields) based on users/groups. Basically think of this as the big brother of the SimpleTicketPlugin. Activate the filtering on a user or group by giving them the TICKET_HIDEVALS permission.

You can configure which fields to mask under the Web administration interface. All fields are hidden by default as soon as a user has TICKET_HIDEVALS permissions, you must explicitly allow what you want each group to see. If a user has no visible options for a field, it will be hidden entirely.

Note: filtering on the query page doesn't work for Trac >= 1.4, so it's a ticket filter plugin for those versions.

Bugs/Feature Requests

Existing bugs and feature requests for HideValsPlugin are here.

If you have any issues, create a new ticket.

defect

9 / 11

enhancement

4 / 4

task

4 / 4

Download

Download the zipped source from here.

The plugin is also available on PyPi.

Source

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

Installation

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

To enable this plugin, add the following to your trac.ini file:

[components]
hidevals.* = enabled

Configuration

Here are a few examples.

Custom selection of Components

  1. Create a group comp
  2. Give the group permission TICKET_HIDEVALS
  3. Assign one or more components to the group using the Hide Values admin page
  4. Add user Tester to group comp

The user Tester now only sees the component drop-down box with the assigned components. All other drop-down boxes are hidden.

If you remove the user from the group all drop-down boxes are visible again.

Hide all drop-down boxes

  1. Create a group hideboxes
  2. Give the group permission TICKET_HIDEVALS
  3. Add users to group hideboxes

For every user who is member of group hideboxes all drop-down boxes are hiden.

Recent Changes

18169 by Cinc-th on 2021-04-09 07:03:12
HideValsPlugin: require Trac >= 1.4 because only Jinja2 template is available. Use the Trac 1.2 branch for older Trac relases.
18168 by Cinc-th on 2021-04-09 06:42:35
HideValsPlugin: fixes for Python 3. Bumped version to 3.1. Added classifiers to setup.py.

Note that filtering on the Query page is disabled for now because it's broken for Trac >= 1.4.

17881 by rjollos on 2020-11-25 22:35:35
TracHideVals 3.0: Release version 3.0

Fixes #13912.

(more)

Author/Contributors

Author: coderanger
Maintainer: none (needsadoption)
Contributors:

Last modified 4 years ago Last modified on Apr 9, 2021, 6:58:15 AM