Needs review
Project:
Decisions
Version:
6.x-1.x-dev
Component:
Selection mode
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2010 at 18:49 UTC
Updated:
25 Nov 2011 at 01:13 UTC
If AJAX is enabled, Selection Decisions always show the results of the vote when a user submits.
This can conflict with the Decisions' configuration, which may say to show results only once questions are closed.
This simple patch modifies Selection mode to check the permissions (it now runs _decisions_can_view_results()) before showing voting results.
Please review.
| Comment | File | Size | Author |
|---|---|---|---|
| show-results-if-permissions-say-so.patch | 1.42 KB | elstudio |
Comments
Comment #1
travisjbennett commented(Follow)