Closed Olenka-Hryk closed 4 days ago
Could you explain, how this buttons will work after this changes? They need for closing specific resourse in a specific cooperation
Could you explain, how this buttons will work after this changes? They need for closing specific resourse in a specific cooperation
To change the availability for some resources in a Cooperation, the availability
field should be added to the top level of the Cooperation
entity. This field will allow for setting the availability of resources linked within the entity. The availability
field should be added alongside the resource
and resourceType
fields for each resource included in the cooperation. This task will be addressed in issue #905.
If I don't answer your question, can you clarify what you mean?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Removed the "
availability
" field from theLesson
,Quiz
, andAttachment
entities [ Close #903 ]The field
availability
removed from theLesson
,Quiz
, andAttachment
entities. 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:After changes:
Lessons
entity without fieldavailability
:Quizzes
entity without fieldavailability
: