Offboarding Rules
Offboarding Rules switches resignation requests on and sets the default notice period.

The rules that shape resignations and notice periods.
Settings → Offboarding → Offboarding Rules has up to two cards. It is visible with offboarding.change_offboardinggeneralsetting, or, when the Payroll module is installed, payroll.change_payrollgeneralsetting. A banner at the top reads "Company-specific settings: you are currently setting these settings for the (company) company specifically." The page opens with "Configure how employees exit the organization."
- Allow Resignation Request (needs
change_offboardinggeneralsettingto see it): the toggle saves as soon as you switch it, for the selected company. It is off by default. When on, any employee can open the resignation form and see the profile tab, and the Resignation Letters menu appears for users withview_resignationletter. When off, those pages are refused and the dashboard's Resignation Status chart is hidden, but existing letters are kept. - Default Notice Period (only when the Payroll module is installed): a number of days (0 or more, 30 by default) saved with Save Changes. It sets the pre-filled notice end in the approve dialog and in the Add Employee form, and the End column of letters that are not approved. With an active payroll contract, the contract's own notice period is used instead in the Exit Process.
Saving needs add_* permissions even though the cards are shown for change_* permissions, so a user who holds only the change permission sees the controls and the save is refused.
