Closed (works as designed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Nov 2021 at 13:06 UTC
Updated:
10 Nov 2022 at 23:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
kiseleva.t commentedComment #3
larowlanCan you please provide steps to reproduce, starting from 'install druoal'. Thanks
Comment #6
tobiasb$entity->access('create')can be used.Comment #7
quietone commentedIt has been almost a year and steps to reproduce have not been supplied. I tried to reproduce the problem with Drupal 10.0, standard install.
I gave permission to anonymous to add comments. I then added comments as anon when approval was needed and when approval was not. In both cases the results were the same. Anonymous can 'reply' but not edit comments.
I brought this up in #bugsmash. tobiasb considered this an edge case bug. However, larowlan pointed out that anon can't edit comments because the 'own comment' means any comment with the same uid. And since anon is always uid 0 it would mean anon can edit all anon comments, which really doesn't make sense. The conclusion was that this is working as designed.
Cheers.