Skip to content

Sub-doc are not added as favourite at onboarding #2015

@virgile-dev

Description

@virgile-dev

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

  1. Do this...
  2. Then this...
  3. 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.

Metadata

Metadata

Assignees

Labels

backendbugSomething isn't working

Type

No fields configured for Bug.

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions