# Bug COMMS-904 - Allow copying the link to an unavailable (unauthorized) work package for all inline/block sizes

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-904

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module | Modules and project features / Documents |
| Target versions | 17.8.0 |
| Observed in versions |  |
| Sprint | Sprint 10 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | Yes |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Ihor Dubas |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Open a document which contains an inline link or work package card linked to a work package the user does not have permission to access&nbsp;
    
2.  Observe the &quot;Unavailable&quot; message shown (with the eye-closed icon)
    
3.  Try to get the actual link/URL to that work package (e.g. to copy it or share it with someone who does have access) or tell someone via voice message (&quot;Hey, can you give me access to WP ABC-123?&quot;.
    

### What is the buggy behavior?

There is currently no way for the user to copy or navigate to the link of an unavailable work package. The identifier is not shown consistently across all size variants, and no part of the text is a clickable link.

I cannot differentiate one link from another. Are they linking to the same WP, or different ones?

### What is the expected behavior?

For each display size, the unavailable work package reference should expose the identifier and a clickable, hoverable link (blue, standard link styling) pointing to the work package:

1.  **Tiny:** Show only the eye-closed icon on the inline link (no identifier here). The identifier is shown in the preview only, right after the eye-closed icon. The whole label &quot;Linked work package unavailable&quot; should be a link to the work package. (blue, with hover state).
    
2.  **Compact / Regular:** Show the work package identifier, and make the whole label &quot;Work package unavailable: no permission&quot; a link to the work package (blue, with hover state).
    
3.  **Compact card:** Show the identifier right after the eye-closed icon. The whole label &quot;Linked work package unavailable&quot; should be a link to the work package (blue, with hover state).
    

### Translation considerations

*   This changes translations for work packages which the user is not allowed to see.
