silverstripe-terraformers / silverstripe-embargo-expiry

BSD 3-Clause "New" or "Revised" License
7 stars 7 forks source link

Validate that desired expiry date is after embargo date #14

Closed chillu closed 6 years ago

chillu commented 6 years ago

See extendedRequiredFieldEmbargoExpiry function in advancedworkflow module.

chillu commented 6 years ago

More context: https://github.com/symbiote/silverstripe-advancedworkflow/pull/286

chrispenny commented 6 years ago

I feel there is a use case for expiring an already published page, and then setting a republish date for a future time.

I will, however be adding a config setting to enforce sequential embargo/expiry. I will tie this validation to that.

chrispenny commented 6 years ago

Config setting enforce_sequential_dates is now available.