Skip to content

Commit

Permalink
fix(feedback): correct permission requirement for removing feedback r…
Browse files Browse the repository at this point in the history
…elation

Updated the RemoveFeedbackRelationView which used a permission from the events app, to use the feedback.delete_feedbackrelation permission
  • Loading branch information
norawl committed Oct 19, 2024
1 parent a154f2a commit 76d55ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/events/dashboard/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def form_valid(self, form):

class RemoveFeedbackRelationView(DashboardObjectPermissionMixin, DeleteView):
model = FeedbackRelation
permission_required = "events.add_attendanceevent"
permission_required = "feedback.delete_feedbackrelation"

def get_success_url(self):
return reverse(
Expand Down

0 comments on commit 76d55ff

Please sign in to comment.