Changes between Version 12 and Version 14 of TimingAndEstimationPluginUserManual
- Timestamp:
- 1970-01-01T10:24:02+10:00 (55 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TimingAndEstimationPluginUserManual
v12 v14 1 1 2 2 3 [[PageOutline]] … … 20 21 * '''Ticket Rate''' The ability to attach a cost per hour or total amount to an individual ticket 21 22 22 == Management Page==23 == Billing / Management Page / Time Reports == 23 24 This page provide a small interface for querying the tickets and adding a bill date at the current time. 24 25 This interface mostly just gives you links that match the interface to open any of the give reports, 25 26 providing it the correct set of input parameters 26 27 28 The direct url is '/Billing'. 29 30 === No Permissions Branch === 27 31 The '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. 28 32 29 The direct url is '/billing'. 33 === Permissions Branch === 34 The '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 30 37 31 38 32 39 === Set Bill Date === 33 40 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 }}} 41 This button will add now as a bill date. This is mostly to make it easier to select the last time you billed. 45 42 46 43 == Reports == … … 78 75 '''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).''' 79 76 77 == Permissions Branch == 78 Recently a branch of this plugin was sponsored by [http://www.obsidiansoft.com/ Obsidian Software] so that it would support per field permissions. 79 80 This 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 === 90 There 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 96 fields = 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 109 billable.permission = TIME_VIEW:hide, TIME_RECORD:disable 110 totalhours.permission = TIME_VIEW:remove, TIME_RECORD:disable 111 hours.permission = TIME_VIEW:remove, TIME_RECORD:disable 112 estimatedhours.permission = TIME_RECORD:disable 113 internal.permission = TIME_RECORD:hide 114 }}} 115 116 It 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] 121 internalgroup = TRAC_ADMIN #or whatever group / permission you want 122 123 [trac] 124 permission_policies = InternalTicketsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy 125 }}} 126 80 127 == 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] 82 129