[[PageOutline(2-5,Contents,pullout)]] = 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 [report:9?COMPONENT=TicketAccessPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TicketAccessPlugin&owner=solarwind new ticket]. == Download == Download the zipped source from [download:ticketaccessplugin here]. == Source == You can check out TicketAccessPlugin from [http://trac-hacks.org/svn/ticketaccessplugin here] using Subversion, or [source:ticketaccessplugin browse the source] with Trac. == Example == For example I have some users which I have assigned to 3 groups || '''grpA''' || '''grpB''' || '''grpC''' || || user1 || user1 || user4 || || user2 || user3 || user5 || A user can belong to more than a group. In 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. This is shown in the image below [[Image(create-ticket-view.png)]] And then the ticket will be hidden from users in these 2 groups. In our example, only users from grpB (user1 and user3) 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 Note that if a user has TRAC_ADMIN permissions then he will be allowed full access regardless of the restrictions imposed by the plugin == Recent Changes == [[ChangeLog(ticketaccessplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:solarwind75] [[BR]] '''Maintainer:''' [wiki:solarwind75] [[BR]] '''Contributors:'''