Changes between Version 28 and Version 29 of BlackMagicTicketTweaksPlugin


Ignore:
Timestamp:
Nov 22, 2016, 10:12:51 PM (7 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • BlackMagicTicketTweaksPlugin

    v28 v29  
    1616 * tip - Provide a Javascript tooltip when the control hovers over the field. Useful for example to give people a reminder for the difference between 'priority' and 'severity'.
    1717 * permission - Set a permission that is required to edit that specific field. This is particularly useful in an environment where you let ''users'' set severity, so they need `TICKET_CHGPROP`, but you only want certain people to be able to edit the Priority.
     18
     19An example of the configuration that highlights to the user the difference between 'severity' and 'priority':
     20{{{#!ini
     21[blackmagic]
     22permissions = MASTER_OF_PERMISSIONS, TICKET_RAISE_DEFECT
     23tweaks = severity, priority
     24priority.tip = The priority is the Project-defined importance of the issue, and in general the order in which things will tend to be done.
     25severity.tip = The severity is how important this issue is to the customer or you.
     26priority.permission = MASTER_OF_PERMISSIONS
     27ticket_type.defect = TICKET_RAISE_DEFECT
     28ticket_type.task = TICKET_ADMIN
     29}}}
    1830
    1931The plugin also lets you define arbitrary permissions, say `MASTER_OF_PRIORITIES`, if you want to require someone to have such a custom permission to edit a certain field.
     
    131143}}}
    132144
    133 == Example
    134 
    135 {{{#!ini
    136 [blackmagic]
    137 permissions = MASTER_OF_PERMISSIONS, TICKET_RAISE_DEFECT
    138 tweaks = severity, priority
    139 priority.tip = The priority is the Project-defined importance of the issue, and in general the order in which things will tend to be done.
    140 severity.tip = The severity is how important this issue is to the customer or you.
    141 priority.permission = MASTER_OF_PERMISSIONS
    142 ticket_type.defect = TICKET_RAISE_DEFECT
    143 ticket_type.task = TICKET_ADMIN
    144 }}}
    145 
    146145== Recent Changes
    147146