wiki:TicketAccessPlugin

Version 1 (modified by solarwind, 13 years ago) (diff)

New hack TicketAccessPlugin, created by solarwind

TicketAccessPlugin

Description

Restrict access rights for tickets based on user's group. This plugin was modified from the plugin http://trac-hacks.org/wiki/SensitiveTicketsPlugin

Bugs/Feature Requests

Existing bugs and feature requests for TicketAccessPlugin are here.

If you have any issues, create a new ticket.

Download

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

Source

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

Example

For example I have some users which I have assigned to 2 groups grpA

user1 user2

grpB

user1 user3

grpC

user4 user5

A user can belong to more than a group. So the ticket view, I have created an additional field to enter a comma delimited list of groups I should restrict access to the ticket.

For example when I am creating a new ticket, I decide that grpA and grpC should be restricted from viewing the ticket. I just enter a comma delimited list of groups I should restrict

grpA, grpC

And then the ticket will be hidden from users in these 2 groups. In our example, only users from grpB are allowed to see the ticket. However user1 has already been restricted due to him belonging to grpA, so in effect, only user3 has access to the ticket

Recent Changes

10295 by solarwind on 2011-06-14 10:26:57
New hack TicketAccessPlugin, created by solarwind
(more)

Author/Contributors

Author: solarwind
Maintainer: solarwind
Contributors:

Attachments (1)

Download all attachments as: .zip