Changes between Version 13 and Version 14 of TicketAccessPlugin


Ignore:
Timestamp:
Dec 23, 2017, 9:27:51 AM (6 years ago)
Author:
figaro
Comment:

Moved example to description

Legend:

Unmodified
Added
Removed
Modified
  • TicketAccessPlugin

    v13 v14  
    66
    77This plugin restricts the user's access rights for tickets depending on the group the user belongs to. This plugin was modified from the SensitiveTicketsPlugin.
     8
     9For example, suppose there some users which have been assigned to 3 groups:
     10
     11|| '''grpA''' || '''grpB''' || '''grpC''' ||
     12||  user1   ||  user1  ||  user4  ||
     13||  user2   ||  user3  ||  user5  ||
     14
     15
     16A user can belong to more than one 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.
     17
     18For example when creating a new ticket, I may decide that grpA and grpC should be restricted from viewing the ticket. In that case, just enter a comma delimited list of groups that require access to be restricted:
     19
     20[[Image(create-ticket-view.png, border=2)]]
     21
     22And then the ticket will be hidden from users in these 2 groups.
     23
     24In 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.
     25
     26Note that if a user has `TRAC_ADMIN` permissions, then this user will be allowed full access, regardless of the restrictions imposed by the plugin.
    827
    928== Bugs/Feature Requests
     
    4362Thereafter when you create a ticket, there will be a new textfield to key in the users you want to restrict from accessing the ticket.
    4463
    45 == Example
    46 
    47 For example, suppose there some users which have been assigned to 3 groups:
    48 
    49 || '''grpA''' || '''grpB''' || '''grpC''' ||
    50 ||  user1   ||  user1  ||  user4  ||
    51 ||  user2   ||  user3  ||  user5  ||
    52 
    53 
    54 A user can belong to more than one 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.
    55 
    56 For example when creating a new ticket, I may decide that grpA and grpC should be restricted from viewing the ticket. In that case, just enter a comma delimited list of groups that require access to be restricted:
    57 
    58 [[Image(create-ticket-view.png)]]
    59 
    60 And then the ticket will be hidden from users in these 2 groups.
    61 
    62 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.
    63 
    64 Note that if a user has `TRAC_ADMIN` permissions, then this user will be allowed full access, regardless of the restrictions imposed by the plugin.
    65 
    6664== Author/Contributors
    6765