Skip to content
Snippets Groups Projects

Change rules for role dates

Merged Andreas Ellewsen requested to merge GREG-148-validate-role-dates into master
  1. Dec 10, 2021
    • Andreas Ellewsen's avatar
      Remove a stray slash · 30e8b5bf
      Andreas Ellewsen authored
      Verified
      30e8b5bf
    • Andreas Ellewsen's avatar
      Add validation to newGuestRole dates · e34ec498
      Andreas Ellewsen authored
      Verified
      e34ec498
    • Andreas Ellewsen's avatar
      Change rules for role dates · 96dd9bb4
      Andreas Ellewsen authored
      Dates can now be changed after they have started and ended. This means
      that there is no situation which needs disabling the input fields, and
      disabling has been removed.
      
      Start and end date can now be in the past. The following rules apply:
       - Start dates can be any date in the past, and no more into the future
         than the max days property of the role type.
       - End dates follow the same rules
       - End dates must be equal to or later than start date.
      
      Notification publishing has been reviewed to ensure duplicate
      notifications are not created when start or end date is today.
      
      Resolve: GREG-148
      Verified
      96dd9bb4
Loading