# Bug BNE-158 - Documents: User without permissions to create work packages still sees the command to create a new work package

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Low |
| Module | Modules and project features / Documents, Modules and project features / Text editor / BlockNoteJS |
| Target versions | 17.9.0 |
| Observed in versions |  |
| Sprint | Sprint 16 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| 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 as a user without permissions to create work packages in any project
    
2.  Go to a document
    
3.  Add / to trigger the menu with blocknote commands
    
4.  Observe Create work package command and click on it
    

### What is the buggy behavior?

*   There is a modal saying
    

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

<br>

### What is the expected behavior?

1.  User should not even see the Create work package command. If possible and if it doesn&#x27;t require too much effort, remove the command so as to avoid unnecessary clicks for users.
    

###   

###   

### Environment information

_17.9_

<br>
