Changes between Version 2 and Version 3 of TicketFieldFilterPlugin


Ignore:
Timestamp:
Jul 30, 2016, 12:23:11 PM (6 years ago)
Author:
figaro
Comment:

Cosmetic changes, removal of link to deprecated plugin

Legend:

Unmodified
Added
Removed
Modified
  • TicketFieldFilterPlugin

    v2 v3  
    1  [[PageOutline(2-5,Contents,pullout)]]
     1[[PageOutline(2-5,Contents,pullout)]]
    22
    33= Filter ticket fields depending on ticket type and user permissions
     
    55== Description
    66
    7 A plugin to filter ticket fields depending on the ticket type and user permissions. You may also set fields to read only to prevent modification. When doing so the field is no longer part of the ''Modify'' section but still shown in the ticket header.
     7This is a plugin to filter ticket fields depending on the ticket type and user permissions. It also allows you to set fields to read-only to prevent modification. When doing so the field is no longer part of the ''Modify'' section, but will still be shown in the ticket header.
    88
    99Configuration is done in the admin section.
    1010
    11 See also CondFieldsGenshiPlugin, CondFieldsPlugin, DynamicFieldsPlugin
     11See also CondFieldsGenshiPlugin, DynamicFieldsPlugin
     12
    1213== !Bugs/Feature Requests
    1314
     
    2829You can check out TicketFieldFilterPlugin from [/svn/ticketfieldfilterplugin here] using Subversion, or [source:ticketfieldfilterplugin browse the source] with Trac.
    2930
    30 == Installation/Configuration
     31== Installation
    3132
    3233General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    3334
    34 Enable the plugin in your trac.ini file:
     35Enable the plugin in your `trac.ini` file:
    3536
    3637{{{#!ini
     
    3940}}}
    4041
    41 === Configuration
    42 Note that configuration can be changed using an admin page in the ''Ticket'' section.
     42== Configuration
     43
     44Note that the configuration can be changed using an admin page in the ''Ticket'' section.
    4345
    4446For each ticket type you may set:
    45 * Which fields to show at all
    46 * If a shown field is read only. Read only fields don't show up in the ''Modify'' section.
     47* Which fields to show at all.
     48* If a shown field is read-only. Read-only fields don't show up in the ''Modify'' section.
    4749* A permission for a field. If the user doesn't have the necessary permission, the field is removed.
    4850
    4951Note that permissions only apply to fields which are enabled at all for the ticket type.
    5052
    51 Each entry in ''trac.ini'' starts with the ticket type.
     53Each entry in `trac.ini` starts with the ticket type:
    5254{{{#!ini
    5355[ticket-field-filter]
     
    5658<type>.permission = component: PERM_1 | TICKET_CREATE, cc: PERM_2, ...
    5759}}}
     60
    5861Leaving the entry {{{<type>.fields}}} empty disables all fields for the ticket type. Removing the entry completely enables all fields. Another way is to specify ''+'':
    5962
     
    6871{{{time, changetime, attachment}}}
    6972
    70 If the permission entry is missing or left empty no permission check takes place.
     73If the permission entry is missing or left empty, then no permission check takes place.
    7174
    7275You may specify a list of fields which are always shown: