# Bug COMMS-89 - User is able to edit someone else's comment

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Low |
| Module |  |
| Target versions | 16.0.0 |
| Observed in versions | 15.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.0.x |
| Requires doc change | Yes |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| 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 notifications (user A)

2.  Go to the notification center

3.  Open any work package

4.  Click on the 3 ... dots on the upper right of someone else's comment (user B)

### What is the buggy behavior?

  - User A can edit user B's comment

### What is the expected behavior?

  - Rename the menu item from "Edit this comment" to "Moderate comment"

# Screenshots and other files

on the below screenshot i'm logged in as Cécile Guiot and i'm able to edit Cécile Delete's comment (and it lets me save the edit)

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

### Environment information

**OpenProject version**

Core build

[6afa6b922c480154dab5875e5e93410dad93fbcd](https://github.com/opf/openproject/commits/6afa6b922c480154dab5875e5e93410dad93fbcd)

Product version

[53279a5496dd28cb2fc107a8a6e495057d3ceae1](https://github.com/opf/saas-openproject/commits/53279a5496dd28cb2fc107a8a6e495057d3ceae1)

Core version

OpenProject 15.0.0

**Browser**

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

**Operating System**

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