# Bug COMMS-486 - User with readonly access to documents can connect to hocuspocus and make changes

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 17.0.0 |
| Observed in versions | 16.6.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.6.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Bruno Pagno |
| Product manager |  |
| Developers | Bruno Pagno |
| 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 with permissions to read, but not write, documents in project A
    
2.  Go to any document and click edit
    
3.  Make changes and save the document
    
4.  Reload the document
    

### What is the buggy behavior?

*   The document was edited by the user although they should not be able to
    

### What is the expected behavior?

1.  The user cannot make changes to the document
