Locking Records in Time Tracker
You can use the Locking
plugin in Time Tracker to lock records for modifications on schedule defined for your team. The locking feature applies only to regular users. Team managers can create and modify records even with the Locking plugin enabled.
Potential applications include a scenario when time entries must be ready by a specific moment for payroll processing, or something similar.
Note: The Locking plugin is a replacement of the legacy Lock Interval in Days
feature in Time Tracker prior to version 184.108.40.20668. It used to specify a number of days. Records older than this number of days were locked for all users in earlier Time Tracker versions.
To configure, check the Locking
box in the Plugins section on the Team Profile
page and then click the Configure
Enable the Locking plugin on the Team Profile page
The page that appears allows you to configure how locking works. On it, simply define your cron schedule
Configuring locking in Time Tracker
Locking Configuration Examples
Monthly on the 1st at 8:15
15 8 1 * *
When the server time reaches 8:15 on the 1st day of any month, regular users will not be able to enter or modify any records for dates earlier than the first of this month.
Weekly on Mondays at 10:00
0 10 * * 1
When the server time reaches 10:00 on a Monday, regular users will not be able to enter or modify any records for dates earlier than Monday.
Unfortunately, cron format does not allow to specify every other week
cut-off schedule. Use either monthly or weekly locking instead. If you really need a biweekly schedule, you have to customize Time Tracker, perhaps via a doitcontractors
Date Range Is Locked Error
When users try to enter or modify records in a locked date interval, they see a Date range is locked
error. Locking is not applied to users who have the "override_date_lock"
right (Supervisor and higher roles).
Time Tracker User Guide
Date range is locked error in Time Tracker