Changes between Version 12 and Version 14 of TimingAndEstimationPluginUserManual


Ignore:
Timestamp:
1970-01-01T10:24:02+10:00 (55 years ago)
Author:
Timing and Estimation Plugin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TimingAndEstimationPluginUserManual

    v12 v14  
     1
    12
    23[[PageOutline]]
     
    2021 * '''Ticket Rate''' The ability to attach a cost per hour or total amount to an individual ticket
    2122
    22 == Management Page ==
     23== Billing / Management Page / Time Reports ==
    2324This page provide a small interface for querying the tickets and adding a bill date at the current time. 
    2425This interface mostly just gives you links that match the interface to open any of the give reports,
    2526providing it the correct set of input parameters
    2627
     28The direct url is '/Billing'.
     29
     30=== No Permissions Branch ===
    2731The 'Management' button should be in the main title bar.  It is possible that if you are viewing at a low resolution, it was pushed off the edge of the screen.  Also if you are not logged in with report_view permissions, it will not show that button.
    2832
    29 The direct url is '/billing'.
     33=== Permissions Branch ===
     34The 'Time Reports' button should be in the main title bar.  Whether or not you see this will be based on whether your user has TIME_VIEW permissions.
     35
     36
    3037
    3138
    3239=== Set Bill Date ===
    3340
    34 This button will add now as a bill date.  This is mostly to make it easier to select the last time you billed.
    35 
    36 === Configuration ===
    37 ==== TimingAndEstimation ====
    38 {{{
    39 #!ini
    40 [timingandestimation]
    41 #change what permission is required to view the billing/management screen
    42 # default is REPORT_VIEW
    43 billing_permission=TRAC_ADMIN
    44 }}}
     41This button will add now as a bill date.  This is mostly to make it easier to select the last time you billed.
    4542
    4643== Reports ==
     
    7875 '''The reports can only be called from the Management Page. They will not work from the Trac View Tickets page. (Due to the custom variables that need values).'''
    7976
     77== Permissions Branch ==
     78Recently a branch of this plugin was sponsored by [http://www.obsidiansoft.com/ Obsidian Software] so that it would support per field permissions. 
     79
     80This is accomplished with Genshi 5 stream filters in trac 11.  This code draws from the [http://trac-hacks.org/wiki/BlackMagicTicketTweaksPlugin BlackMagicTicketTweaksPlugin]
     81{{{
     82#!html
     83<br />
     84<a href="http://www.obsidiansoft.com/" >
     85<img src="http://trac-hacks.org/attachment/wiki/TimeEstimationUserManual/obsidian-logo.gif?format=raw" />
     86</a>
     87}}}
     88
     89=== Configuration ===
     90There is a new trac.ini configuration section which is filled in by default as follows.
     91{{{
     92#!ini
     93[field settings] # per field permissions
     94
     95# a list of all the fields to apply permissions to
     96fields = billable, totalhours, hours, estimatedhours, internal
     97
     98# a bunch of:
     99# field.permission = PERMISSION:consequence
     100#
     101#  If PERMISSION=ALWAYS, then the consequence always occurs
     102#    eg: billable.permission = ALWAYS:hide
     103#        will always result in billable being hidden, irrespective of user permissions   
     104#
     105# where consequence is one of: hide, remove, disable
     106#    hide - replaces with hidden input
     107#    remove - removes element
     108#    disable - removes input in favor of text
     109billable.permission = TIME_VIEW:hide, TIME_RECORD:disable
     110totalhours.permission = TIME_VIEW:remove, TIME_RECORD:disable
     111hours.permission = TIME_VIEW:remove, TIME_RECORD:disable
     112estimatedhours.permission = TIME_RECORD:disable
     113internal.permission = TIME_RECORD:hide
     114}}}
     115
     116It also adds an "Internal" checkbox which allows you to set a ticket as internal.  For this policy to work correctly you need to add a line to the trac section of the config telling it which permission policies to use.  (The setup will attempt to put this line of configuration in place. )  The permission that looks at currently is 'TIME_ADMIN'.  To change that group set the internalgroup of the ticket section in the trac.ini as follows:
     117
     118{{{
     119#!ini
     120[ticket]
     121internalgroup = TRAC_ADMIN #or whatever group / permission you want
     122
     123[trac]
     124permission_policies = InternalTicketsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy
     125}}}
     126
    80127== Future Improvements ==
    81  * [http://trac-hacks.org/wiki/TimingAndEstimationPlugin See tickets] at the [http://trac-hacks.org/wiki/TimingAndEstimationPlugin project trac]
     128 * [http://trac-hacks.org/report/9?COMPONENT=TimingAndEstimationPlugin See tickets] at the [http://trac-hacks.org/wiki/TimingAndEstimationPlugin project trac]
    82129