New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't edit or remove a comment if the user isn't the one that created the topic #35

Closed
ane-gabriela opened this Issue Dec 14, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@ane-gabriela
Copy link

ane-gabriela commented Dec 14, 2018

Steps to reproduce:

  1. Log in as a simple user
  2. Create a forum
  3. Create a topic
  4. Add an answer
  5. Add a comment
  6. Observe the buttons available
  7. Log in as another user
  8. Add a comment
  9. Observe the buttons available

Expected results: The users can edit and remove the comments added by themselves.

Actual results: The user that isn't the creator of the Topic can only edit and remove his answer but not the comments.

Environment: Windows 10, IE 11, XWiki 10.10 with MySQL 5.7
forumusernooptions

@ane-gabriela ane-gabriela added this to the 2.6 milestone Dec 14, 2018

@acotiuga acotiuga self-assigned this Jan 16, 2019

acotiuga added a commit that referenced this issue Jan 16, 2019

Can't edit or remove a comment if the user isn't the one that created…
… the topic #35

* in a more recent version than XWiki 8.4, the comment.author represents an HTML block and not only a string to be compared to another one.

@acotiuga acotiuga added the Type: Bug label Jan 16, 2019

@acotiuga acotiuga modified the milestones: 2.6, 2.5.5 Jan 16, 2019

@acotiuga acotiuga closed this Jan 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment