Skip to content

Comments

Poll restrictions votation types#10

Open
coslajohn wants to merge 9 commits intoCoslaDigital:pollsfrom
consuldemocracy:poll_restrictions_votation_types
Open

Poll restrictions votation types#10
coslajohn wants to merge 9 commits intoCoslaDigital:pollsfrom
consuldemocracy:poll_restrictions_votation_types

Conversation

@coslajohn
Copy link

prioritization of poll responses

microweb10 and others added 9 commits June 14, 2022 13:07
Polls will have to be created on future dates. This commit adjust the
way polls are created in specs and also fixes the failing specs after
the change.
Also, dissallow to modify the start date for an already started poll
We will still be flexible about the end date of a poll, as long as it
is also in the future. Once the polls has ended, it will not be
possible to modify the end date anymore.
Adding, modifiying, and/or deleting questions for an already started
poll is far away from being democratic and can lead to unwanted side
effects like missing votes in the results or stats.

So, from now on, only modifiying questions will be possible only if
the poll has not started yet.
Deleting answers it was not even possible. But it was possible to
delete questions. So we implemented the same behavior.

Also, same restrictions as questions, it will no longer possible to
add, modify, and/or delete answers if the poll has already started.
Same rules that will apply for the answer itself should apply for the
attachments like videos, images, and/or documents.
coslajohn added a commit that referenced this pull request Sep 11, 2024
changing controller from custom controller. allowing video_url
coslajohn added a commit that referenced this pull request Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants