Closed GeoffreyHuck closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
9822520
) 100.00% compared to head (994c6b2
) 100.00%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
fixes #1025
Added boolean
can_watch_item_answer
.Tests have been updated. Since there were already cases where the user can and cannot watch the answer, there is no new test.
I first considered a field
item.permissions.can_watch
with the value of the permission, but this would have required more work for the implementation. If we only want to know whether or not we can watch the answer, the boolean is simpler.