mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-04 15:13:41 +08:00
was showing up inconditionnaly even if you didn't have the permissions to edit other people's comments. This was only a UX issue as the server is doing the correct check. The issue was the `hasPermission` method which wasn't a getter so it wasn't checked for all the instances of the post comments but rather once. Also added some acceptance tests to ensure we don't regress. Internal ref - t/163347 |
||
|---|---|---|
| .. | ||
| javascripts/acceptance | ||