# Bug OP-18108 - UI broken when user with whom a wp has been shared opens the project

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Project overview, Modules and project features / Work packages, Administration / Roles and permissions |
| Target versions | 17.0.0 |
| Observed in versions | 16.6.0 |
| Sprint | 17.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.6.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 | Behrokh Satarnejad |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### 

### Steps to reproduce

1.  Login and open a work package in a private project

2.  Click on Share

3.  Select a user A with view rights

4.  As user A, log in and open the project from the projects' dropdown

### What is the buggy behavior?

  - 403 error and the UI is broken

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

### What is the expected behavior?

1.  Currently on production (16.5), that user is able to see the Overview page but all the information are hidden from them. I don't know if the behavior changed recently for this case but even if it has, the UI should not be broken.

### Environment information

**OpenProject version**

*16.6.0*

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [ ] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [x] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)
