mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 01:53:03 +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 |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db/migrate | ||
| extensions | ||
| lib/post_voting | ||
| spec | ||
| test/javascripts/acceptance | ||
| plugin.rb | ||
| README.md | ||
Discourse Post Voting
Discourse Post Voting allows the creation of topics with votable posts.
Please refer to https://meta.discourse.org/t/227808 for more info!
Contributions
Special thanks to Pavilion for building https://github.com/paviliondev/discourse-question-answer which this plugin took inspirations from.
