Set a shift policy
Sets a rule. There is one rule of each kind for each target, so sending a rule that already exists for the same scope, role and location changes it (200) rather than adding another (201). The most specific rule of each kind wins: a role rule over a location rule over one for your whole organization. Rules apply to every sign-up and cancellation, whoever makes it. Needs write on Shifts.
A coordinator’s: needs write on Shifts AND read on People. A key without read on People is refused (403) with “Only a coordinator can do this: it needs permission to see People.”
Authorizations
Body
max_centihours_per_day: the most hours one person may sign up for in a day, in hundredths of an hour (250 is two and a half hours). max_centihours_per_week: the same for a week, Monday to Sunday. max_bookings_per_day: the most sign-ups one person may have in a day. booking_horizon_days: how many days ahead sign-ups open. booking_cutoff_hours: sign-ups close this many hours before the start. cancellation_notice_hours: giving up a sign-up less than this many hours before the start needs a coordinator's answer. lapse_after_days: set for everyone, a volunteer with no shift this many days and none booked is paused until a coordinator makes them active again.
max_centihours_per_day, max_centihours_per_week, max_bookings_per_day, booking_horizon_days, booking_cutoff_hours, cancellation_notice_hours, lapse_after_days Response
The rule, changed.
max_centihours_per_day: the most hours one person may sign up for in a day, in hundredths of an hour (250 is two and a half hours). max_centihours_per_week: the same for a week, Monday to Sunday. max_bookings_per_day: the most sign-ups one person may have in a day. booking_horizon_days: how many days ahead sign-ups open. booking_cutoff_hours: sign-ups close this many hours before the start. cancellation_notice_hours: giving up a sign-up less than this many hours before the start needs a coordinator's answer. lapse_after_days: set for everyone, a volunteer with no shift this many days and none booked is paused until a coordinator makes them active again.
max_centihours_per_day, max_centihours_per_week, max_bookings_per_day, booking_horizon_days, booking_cutoff_hours, cancellation_notice_hours, lapse_after_days 
