Remove the "availability" field from the Lesson, Quiz, and Attachment entities
The field availability should be removed from the Lesson, Quiz, and Attachment entities. It should instead be moved to the top level of the Cooperation entity (Issue #905). This is because resources are added as links within the Cooperation entity, and the availability of these resources should be set at the Cooperation level. Having availability at the entity level would be redundant and inconsistent, as it could change independently for resources added as links:
Remove the "
availability
" field from theLesson
,Quiz
, andAttachment
entitiesThe field
availability
should be removed from theLesson
,Quiz
, andAttachment
entities. It should instead be moved to the top level of theCooperation
entity (Issue #905). This is because resources are added as links within theCooperation
entity, and theavailability
of these resources should be set at theCooperation
level. Havingavailability
at the entity level would be redundant and inconsistent, as it could change independently for resources added as links: