Bug Report
Problematic behavior
#1971 creates an exception for restricted document.
Sub-docs for which computed_link_reach is public are not added.
Expected behavior/code
The exception should not use link_reach but computed_link_reach instead. So that sub-docs whose parent link_reach is set to to public can be added as favourite at onboarding.
Steps to Reproduce
- Do this...
- Then this...
- And then the bug happens!
Environment
- Docs version: 4.8
- Instance url: docs.numerique.gouv.fr
Possible Solution
Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
Bug Report
Problematic behavior
#1971 creates an exception for restricted document.
Sub-docs for which
computed_link_reachis public are not added.Expected behavior/code
The exception should not use
link_reachbutcomputed_link_reachinstead. So that sub-docs whose parentlink_reachis set to to public can be added as favourite at onboarding.Steps to Reproduce
Environment
Possible Solution
Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.