Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Commit

Permalink
[carpentries#2065] Update ACL for Recruitment State change view
Browse files Browse the repository at this point in the history
  • Loading branch information
pbanaszkiewicz committed Apr 3, 2022
1 parent 105fd76 commit 17ebd65
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion amy/recruitment/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,13 @@ def get_context_data(self, **kwargs) -> dict:
return context


class InstructorRecruitmentSignupChangeState(FormMixin, View):
class InstructorRecruitmentSignupChangeState(
OnlyForAdminsMixin,
RecruitmentEnabledMixin,
ConditionallyEnabledMixin,
FormMixin,
View,
):
"""POST requests for editing (confirming or declining) the instructor signup."""

form_class = InstructorRecruitmentSignupChangeStateForm
Expand Down

0 comments on commit 17ebd65

Please sign in to comment.