Main Settings / General Settings / Teachers Portal Rights / Basic Settings / Allow Teachers to Configure Their Availability For
Here you define the tasks for which teachers can declare availability.
Setting -> Active

Figure 1

Figure 2
Setting -> Inactive

Figure 3