Skip to content

Edit comments of other users using role = admin is not persisted #506

Closed
@johannesmarx

Description

@johannesmarx

Describe the bug
As an admin user (role = admin) I'm able to edit comments of other users (edit link is show).
When "save edits" is pressed, the change is not persisted.

What works perfectly is editing my own comments (role = admin).

Additionally what seems (to me) to be a bit inconsistent is that I'm not offered an edit link for a comment if I have the role = user.

To Reproduce
Steps to reproduce the behavior:

  1. Login as user with role = admin
  2. Click on 'edit' of another user's comment
  3. Apply some changes to the comment
  4. Click on 'save edits'
  5. Refresh the page
  6. Change is gone and not shown, instead the original comment is still shown

Expected behavior
The changed comment should be shown after clicking on 'save edits' and refresh of the page

Platform (please complete the following information):

  • Device: Desktop
  • OS: macOS
  • Browser Firefox 116.0.3, Chrome 116.0.5845.140

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions