Implement deactivation of types
At the moment, types can be disabled in the UI but that does not have a logical effect. (Figure 1)
When deactivating the type, the types and the objects of the corresponding type must be filtered when fetching.
This means that all objects of the deactivated type are only visible but cannot be edited.