# Feature BNE-57 - Adapt styles and information when user has no permission to see the work package

Project: Stream BlockNote extensions
Status: closed
URL: https://community.openproject.org/work_packages/BNE-57

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 17.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Judith Roth |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**Acceptance Criteria**

*   When the user has no permission to see the work package that is linked in a document, a ghost block should be shown instead: [mockup](https://www.figma.com/design/d3zhm0R0pjHJvQd3XTlxuS/New-Documents-module?node-id=1841-10763&t=hAMZmy4qbWHW1VTP-4)
    
*   Should look good in light and dark mode
    
*   The markdown should also be adapted accordingly to not include too much information (e.g. subject should not be included)
    
*   The work package attributes may also not be persisted in the yDoc to ensure no information can be leaked (only the work package id is allowed)
