Skip to content

Commit

Permalink
Update phases
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Dec 3, 2024
1 parent 696dc83 commit 93ec9c3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion backend/hub/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ def flags_phase_pause(self, request, __: QuerySet[FeatureFlag]):
"enable_candidate_confirmation",
"enable_candidate_voting",
"enable_results_display",
"enable_final_results_display",
],
)

Expand All @@ -754,6 +755,7 @@ def flags_phase_deactivate(self, request, __: QuerySet[FeatureFlag]):
"enable_candidate_confirmation",
"enable_candidate_voting",
"enable_results_display",
"enable_final_results_display",
],
)

Expand All @@ -775,6 +777,7 @@ def flags_phase_1(self, request, __: QuerySet[FeatureFlag]):
"enable_candidate_confirmation",
"enable_candidate_voting",
"enable_results_display",
"enable_final_results_display",
],
)

Expand All @@ -796,6 +799,7 @@ def flags_phase_2(self, request, __: QuerySet[FeatureFlag]):
"enable_candidate_supporting",
"enable_candidate_voting",
"enable_results_display",
"enable_final_results_display",
],
)

Expand All @@ -815,8 +819,9 @@ def flags_phase_3(self, request, __: QuerySet[FeatureFlag]):
"enable_candidate_registration",
"enable_candidate_editing",
"enable_candidate_supporting",
"enable_results_display",
"enable_candidate_confirmation",
"enable_results_display",
"enable_final_results_display",
],
)

Expand All @@ -838,6 +843,7 @@ def flags_final_phase(self, request, __: QuerySet[FeatureFlag]):
"enable_candidate_supporting",
"enable_candidate_voting",
"enable_candidate_confirmation",
"enable_final_results_display",
],
)

Expand Down

0 comments on commit 93ec9c3

Please sign in to comment.