# Bug OP-18890 - Parent project name visible in breadcrumb irrespective of parent access

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-18890

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Project overview |
| Target versions | 17.1.2 |
| Observed in versions | 17.1.0 |
| Sprint | 17.1.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.1.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Oliver Günther |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Create two projects, one parent, one child

2.  Create a user having only access to the child project

3.  Log in as that user

4.  Visit the child project home page

### What is the buggy behavior?

  - The parent project name is visible. This is leaking information the user should not have access to because the user is not a member of the parent project.

### What is the expected behavior?

1.  The breadcrumb should not show the parent project, like in the projects selector

### Screenshots and other files

The admin has access to both parent and child projects (do not mind the ":" at the start of the name. They're here only to have them on top of the list)

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/918995/content">

As another user not having access to the parent project, the parent project is not visible in projects list (correct), but is visible in the breadcrumb (incorrect).

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/918996/content">

### Environment information

**OpenProject installation type**

  - All

**OpenProject version**

17.1
