Add TODO about possibly adding a future-only validation

This commit is contained in:
Klaus Zanders
2026-03-11 14:06:28 +01:00
parent cf9bf938ea
commit e2cc1c3512
@@ -35,6 +35,9 @@ class UserWorkingHours::BaseContract < ModelContract
attribute :availability_factor
validate :validate_manage_permission
# TODO: Possibly add a validation that we only add working hours for future dates. We will start without it for
# now, but let's consider adding it in the future to prevent users from accidentally changing their historic
# data.
def self.model = ::UserWorkingHours