New access permissions for viewing of the 'Management' tab and for setting of new billing dates
|Reported by:||Carsten Fechtmann||Owned by:||Russ Tyndall|
First of all, thanks for this great plugin !
But as not everyone is comfortable with the idea that everyone who is allowed to view tickets -> REPORT_VIEW, will also able to take a look at the hours spent on tickets and so on, here a patch that provides the following additional permissions.
TIME_VIEW : required to view the reports under the 'Billing' tab TIME_ADMIN: Everything TIME_VIEW can do, plus the ability to set a new billing date (this part is still a bit crude)
One additional change: As all the other tabs in the 'mainnav' bar are lower case, I changed this also for this plugin. Hopefully, this makes it easier for renaming and/or re-ordering of tabs with:
[mainnav] billing.label = Billing [trac] mainnav = ...,billing,....
At least, it is less confusing for me this way ;-)