Prevent invalid user editing of time records and invoice lines